Interface ISystemDocumentStorageFactory
Фабрика для получения экземпляров ISystemDocumentStorage и ISystemDocumentStorage.
Namespace:InfinniPlatform.DocumentStorage
Assembly:InfinniPlatform.DocumentStorage.Abstractions.dll
Syntax
public interface ISystemDocumentStorageFactory
Methods
| Improve this Doc View SourceGetStorage(String)
Возвращает экземпляр IDocumentStorage.
Declaration
ISystemDocumentStorage GetStorage(string documentTypeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | documentTypeName | Имя типа документа. |
Returns
Type | Description |
---|---|
ISystemDocumentStorage |
GetStorage(Type, String)
Возвращает экземпляр IDocumentStorage<TDocument>.
Declaration
object GetStorage(Type documentType, string documentTypeName = null)
Parameters
Type | Name | Description |
---|---|---|
Type | documentType | Тип документа. |
System.String | documentTypeName | Имя типа документа. |
Returns
Type | Description |
---|---|
System.Object |
GetStorage<TDocument>(String)
Возвращает экземпляр IDocumentStorage<TDocument>.
Declaration
ISystemDocumentStorage<TDocument> GetStorage<TDocument>(string documentTypeName = null)where TDocument : Document
Parameters
Type | Name | Description |
---|---|---|
System.String | documentTypeName | Имя типа документа. |
Returns
Type | Description |
---|---|
ISystemDocumentStorage<TDocument> |
Type Parameters
Name | Description |
---|---|
TDocument | Тип документа. |