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