Inheritance
System.Object
SystemDocumentStorageFactory
Namespace:InfinniPlatform.DocumentStorage
Assembly:InfinniPlatform.DocumentStorage.MongoDB.dll
public class SystemDocumentStorageFactory : object, ISystemDocumentStorageFactory
Constructors
|
Improve this Doc
View Source
Declaration
public SystemDocumentStorageFactory(IContainerResolver containerResolver, Func<string, ISystemDocumentStorage> storageFactory)
Parameters
Methods
|
Improve this Doc
View Source
Declaration
public ISystemDocumentStorage GetStorage(string documentTypeName)
Parameters
Type |
Name |
Description |
System.String |
documentTypeName |
|
Returns
Implements
|
Improve this Doc
View Source
Declaration
public object GetStorage(Type documentType, string documentTypeName = null)
Parameters
Type |
Name |
Description |
Type |
documentType |
|
System.String |
documentTypeName |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
Declaration
public ISystemDocumentStorage<TDocument> GetStorage<TDocument>(string documentTypeName = null)where TDocument : Document
Parameters
Type |
Name |
Description |
System.String |
documentTypeName |
|
Returns
Type Parameters
Name |
Description |
TDocument |
|
Implements
Extension Methods