Search Results for

    Show / Hide Table of Contents

    Class AllocationMappingProvider

    Calculates allocation mapping from entity set and instrument. Loops through allocation paths for entity set and returns allocation mapping that directly matches instrument If there is none, it loops through instrument sets to return best suited one

    Inheritance
    object
    AllocationMappingProvider
    Implements
    IAllocationMappingProvider
    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 AllocationMappingProvider : IAllocationMappingProvider

    Constructors

    AllocationMappingProvider(IEntityUpdater)

    Declaration
    public AllocationMappingProvider(IEntityUpdater updater)
    Parameters
    Type Name Description
    IEntityUpdater updater

    Methods

    GetAllocationMapping(Guid, Guid?, Guid)

    Returns allocation mapping

    Declaration
    public IAllocationMapping GetAllocationMapping(Guid entitySetID, Guid? instrumentID, Guid transactionCodeId)
    Parameters
    Type Name Description
    Guid entitySetID

    Entity Set for which to find allocation mapping

    Guid? instrumentID

    Instrument for which to find allocation mapping

    Guid transactionCodeId
    Returns
    Type Description
    IAllocationMapping

    Allocation mapping matching parameters

    Init()

    Loads all reference data required for matching

    Declaration
    public Task Init()
    Returns
    Type Description
    Task

    Implements

    IAllocationMappingProvider

    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.