Search Results for

    Show / Hide Table of Contents

    Class StepChangeDynamicPathHandler

    Perhaps this is something that transaction/split transaction should implement, but not obvious how for now logic explicitly held with step change processor

    When running a step change process the system equalizes (as a first step) all prior capital (portfolio is auto handled through path updates) transactions. Any transaction that has a path that is dynamic means the step change to date must be saved to the database, and the dynamic path updated if

    Inheritance
    object
    StepChangeDynamicPathHandler
    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 StepChangeDynamicPathHandler

    Constructors

    StepChangeDynamicPathHandler(StepChangeProcessor, IPathSplitIdProvider, IRuleAmountUpdaterFactory)

    Declaration
    public StepChangeDynamicPathHandler(StepChangeProcessor processor, IPathSplitIdProvider pathSplitProvider, IRuleAmountUpdaterFactory ruleAmountUpdaterFactory)
    Parameters
    Type Name Description
    StepChangeProcessor processor
    IPathSplitIdProvider pathSplitProvider
    IRuleAmountUpdaterFactory ruleAmountUpdaterFactory

    Methods

    GetPathsThatNeedUpdating(SplitTransactionProcessor)

    Declaration
    public Task<IEnumerable<Guid>> GetPathsThatNeedUpdating(SplitTransactionProcessor splitTransaction)
    Parameters
    Type Name Description
    SplitTransactionProcessor splitTransaction
    Returns
    Type Description
    Task<IEnumerable<Guid>>

    GetPathsThatNeedUpdating(IEnumerable<ITransaction>)

    Declaration
    public Task<IEnumerable<Guid>> GetPathsThatNeedUpdating(IEnumerable<ITransaction> transactions)
    Parameters
    Type Name Description
    IEnumerable<ITransaction> transactions
    Returns
    Type Description
    Task<IEnumerable<Guid>>

    UpdatePaths(ITransaction, IEnumerable<Guid>)

    Declaration
    public Task<bool> UpdatePaths(ITransaction transaction, IEnumerable<Guid> paths)
    Parameters
    Type Name Description
    ITransaction transaction
    IEnumerable<Guid> paths
    Returns
    Type Description
    Task<bool>

    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.