Class DocumentStorageServiceFactory
Inheritance
DocumentStorageServiceFactory
Assembly: LemonEdge.API.dll
Syntax
public class DocumentStorageServiceFactory : IDocumentStorageServiceFactory
Constructors
DocumentStorageServiceFactory(IDomainContextEventHandler, IReflectionHelper, IFactoryInjector, IOptions<DocumentStorageSettings>)
Declaration
public DocumentStorageServiceFactory(IDomainContextEventHandler domainContextEventHandler, IReflectionHelper reflectionHelper, IFactoryInjector factoryInjector, IOptions<DocumentStorageSettings> config)
Parameters
Properties
Instance
Declaration
public static IDocumentStorageServiceFactory Instance { get; set; }
Property Value
Methods
Create(string)
Creates a service, using the key from config, or the manual override.
Can return null in the event of no / incorrect config, in which case
the document blobs are stored in the database.
Declaration
public IDocumentStorageService Create(string overrideKey = null)
Parameters
Type |
Name |
Description |
string |
overrideKey |
Leave blank to use config.
|
Returns
Implements
Extension Methods