Search Results for

    Show / Hide Table of Contents

    Class TransactionMatcher

    A helper class for converting a ITransactionMatcher into an equivelant QueryableFilter

    Inheritance
    System.Object
    TransactionMatcher
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.API.Entities.Helpers
    Assembly: API.dll
    Syntax
    public class TransactionMatcher

    Constructors

    TransactionMatcher(ITransactionMatcher)

    Creates a new transaction matcher helper for the specified transactio nmatcher

    Declaration
    public TransactionMatcher(ITransactionMatcher matcher)
    Parameters
    Type Name Description
    ITransactionMatcher matcher

    The transaction matcher to load

    Properties

    Matcher

    The transaction matcher this helper class works with

    Declaration
    public ITransactionMatcher Matcher { get; }
    Property Value
    Type Description
    ITransactionMatcher

    MatchOn

    A list of all transaction matcher on records for this Matcher.

    Only available once loaded

    Declaration
    public IEnumerable<ITransactionMatcherOn> MatchOn { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<ITransactionMatcherOn>

    Methods

    GetFilter()

    Converts the transaction matcher and its records for matching on items into an equivelant QueryableFilter

    Declaration
    public QueryableFilter GetFilter()
    Returns
    Type Description
    QueryableFilter

    An equivelant QueryableFilter for the transaction matcher and its records for matching on items

    Load(IReadOnlyCache)

    Loads the definition of the transaction matcher using the specified context

    Declaration
    public Task Load(IReadOnlyCache cache)
    Parameters
    Type Name Description
    IReadOnlyCache cache
    Returns
    Type Description
    System.Threading.Tasks.Task

    A task indicating the completion of this operation

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    ITransactionMatcher
    QueryableFilter
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.