Search Results for

    Show / Hide Table of Contents

    Class ServiceContext

    Inheritance
    object
    ServiceContext
    Implements
    IServiceContext
    ICoreContext
    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.Tasks
    Assembly: LemonEdge.API.dll
    Syntax
    public class ServiceContext : IServiceContext, ICoreContext

    Constructors

    ServiceContext(ICoreContext, IServerTaskFactory, IValidationContextFactory, IFormulaFunctionsFactory, INotificationTypeFactory, IFactoryInjector)

    Declaration
    public ServiceContext(ICoreContext coreContext, IServerTaskFactory serverTaskFactory, IValidationContextFactory validationContextFactory, IFormulaFunctionsFactory formulaFunctionsFactory, INotificationTypeFactory notificationTypeFactory, IFactoryInjector factoryInjector)
    Parameters
    Type Name Description
    ICoreContext coreContext
    IServerTaskFactory serverTaskFactory
    IValidationContextFactory validationContextFactory
    IFormulaFunctionsFactory formulaFunctionsFactory
    INotificationTypeFactory notificationTypeFactory
    IFactoryInjector factoryInjector

    Properties

    EntityDescriptorFactory

    IEntityDescriptorFactory

    Declaration
    public IEntityDescriptorFactory EntityDescriptorFactory { get; }
    Property Value
    Type Description
    IEntityDescriptorFactory

    FactoryInjector

    Returns the session IFactoryInjector. See description - but this should only be used to create objects unknown (or with unknown/unlimited) constructor parameters.

    Declaration
    public IFactoryInjector FactoryInjector { get; }
    Property Value
    Type Description
    IFactoryInjector

    FormulaFunctionsFactory

    IFormulaFunctionsFactory

    Declaration
    public IFormulaFunctionsFactory FormulaFunctionsFactory { get; }
    Property Value
    Type Description
    IFormulaFunctionsFactory

    NotificationTypeFactory

    INotificationTypeFactory

    Declaration
    public INotificationTypeFactory NotificationTypeFactory { get; }
    Property Value
    Type Description
    INotificationTypeFactory

    ReflectionHelper

    IReflectionHelper

    Declaration
    public IReflectionHelper ReflectionHelper { get; }
    Property Value
    Type Description
    IReflectionHelper

    Serializer

    ISerializer

    Declaration
    public ISerializer Serializer { get; }
    Property Value
    Type Description
    ISerializer

    ServerTaskFactory

    IServerTaskFactory

    Declaration
    public IServerTaskFactory ServerTaskFactory { get; }
    Property Value
    Type Description
    IServerTaskFactory

    ValidationContextFactory

    IValidationContextFactory

    Declaration
    public IValidationContextFactory ValidationContextFactory { get; }
    Property Value
    Type Description
    IValidationContextFactory

    Implements

    IServiceContext
    ICoreContext

    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.