Search Results for

    Show / Hide Table of Contents

    Class TransactionProcessorFactory

    Inheritance
    object
    TransactionProcessorFactory
    Implements
    IBaseDataSetProcessorFactory
    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.FinancialServices.Processors.Transactional
    Assembly: LemonEdge.API.Core.FinancialServices.dll
    Syntax
    public class TransactionProcessorFactory : IBaseDataSetProcessorFactory

    Constructors

    TransactionProcessorFactory(IEntityDescriptorFactory, IFactoryInjector)

    Declaration
    public TransactionProcessorFactory(IEntityDescriptorFactory entityDescriptorFactory, IFactoryInjector factoryInjector)
    Parameters
    Type Name Description
    IEntityDescriptorFactory entityDescriptorFactory
    IFactoryInjector factoryInjector

    Properties

    ProcessorType

    The type of processor this factory is responsible for creating

    Declaration
    public Type ProcessorType { get; }
    Property Value
    Type Description
    Type

    TypesInDataSet

    A list of the types of entities that this factory can create processors for

    Declaration
    public EntityDescriptor[] TypesInDataSet { get; }
    Property Value
    Type Description
    EntityDescriptor[]

    Methods

    BelongsToDataSetProcessorType(IBaseEntity)

    Indicates if the specified item actualy belongs to the processor this factory creates.

    Some processors may be created for all instances of a type in TypesInDataSet, and others may only work on certain ones (such as items implementing ICanBeTransferred would be left alone if being transferred by another processor)

    Declaration
    public bool BelongsToDataSetProcessorType(IBaseEntity item)
    Parameters
    Type Name Description
    IBaseEntity item

    The item to see if it belongs in the type of processor this factory creates

    Returns
    Type Description
    bool

    True if the specified item actualy belongs to the processor this factory creates.

    Create(IEntityUpdater, IReadOnlyCache, UserInfo)

    Creates a new instance of the processor from this factory

    Declaration
    public IBaseDataSetProcessor Create(IEntityUpdater updater, IReadOnlyCache cache, UserInfo user)
    Parameters
    Type Name Description
    IEntityUpdater updater

    A context for querying and updating all items in the LemonEdge platform

    IReadOnlyCache cache

    A local current cache

    UserInfo user

    The current logged in user

    Returns
    Type Description
    IBaseDataSetProcessor

    A new instance of the processor from this factory

    Implements

    IBaseDataSetProcessorFactory

    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.