Search Results for

    Show / Hide Table of Contents

    Class DocumentStorageServiceFactory

    Inheritance
    object
    DocumentStorageServiceFactory
    Implements
    IDocumentStorageServiceFactory
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Core.Storage
    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
    Type Name Description
    IDomainContextEventHandler domainContextEventHandler
    IReflectionHelper reflectionHelper
    IFactoryInjector factoryInjector
    IOptions<DocumentStorageSettings> config

    Properties

    Instance

    Declaration
    public static IDocumentStorageServiceFactory Instance { get; set; }
    Property Value
    Type Description
    IDocumentStorageServiceFactory

    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
    Type Description
    IDocumentStorageService

    Implements

    IDocumentStorageServiceFactory

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.