Search Results for

    Show / Hide Table of Contents

    Class TransactionCodeHeaderProperty

    This class is used as viewmodel for TransactionCodeHeaderPropertyVisibilityGridController. It is used as a wrapper for properties 'ShowXXX' of TransactionCode

    Inheritance
    object
    TransactionCodeHeaderProperty
    Implements
    IWrapper
    INotifyPropertyChanging
    INotifyPropertyChanged
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
    Assembly: LemonEdge.API.Entities.FinancialServices.dll
    Syntax
    public class TransactionCodeHeaderProperty : IWrapper, INotifyPropertyChanging, INotifyPropertyChanged

    Constructors

    TransactionCodeHeaderProperty()

    Declaration
    public TransactionCodeHeaderProperty()

    Properties

    Id

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string

    IsVisible

    Declaration
    public bool IsVisible { get; set; }
    Property Value
    Type Description
    bool

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    WrappedItem

    The main item that is wrapped by this wrapper

    Declaration
    public IBaseEntity WrappedItem { get; }
    Property Value
    Type Description
    IBaseEntity

    Methods

    Init(Action<object, string>, IEntityUpdater, IBaseEntity, IBaseEntity[], IEnumerable<IBaseEntity>)

    Initializes this wrapper instance used in the UI

    Declaration
    public void Init(Action<object, string> onChange, IEntityUpdater updater, IBaseEntity mainItem, IBaseEntity[] headers, IEnumerable<IBaseEntity> pivotValues)
    Parameters
    Type Name Description
    Action<object, string> onChange

    Indicates a property not on the main item has been updated and the system needs to know about the change

    IEntityUpdater updater

    The updater context that holds the changes made to other entities in the wrapper

    IBaseEntity mainItem

    The main item being wrapper, the one returned by WrappedItem

    IBaseEntity[] headers

    The list of items holding the header columns being wrapped for this entity

    IEnumerable<IBaseEntity> pivotValues

    The optional list of items holding ths values that can be used against the headers

    OnPropertyChanged(string)

    Declaration
    protected void OnPropertyChanged(string propName)
    Parameters
    Type Name Description
    string propName

    OnPropertyChanging(string)

    Declaration
    protected void OnPropertyChanging(string propName)
    Parameters
    Type Name Description
    string propName

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    PropertyChangedEventHandler

    PropertyChanging

    Declaration
    public event PropertyChangingEventHandler PropertyChanging
    Event Type
    Type Description
    PropertyChangingEventHandler

    Implements

    IWrapper
    INotifyPropertyChanging
    INotifyPropertyChanged

    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.