Search Results for

    Show / Hide Table of Contents

    Class RevertTransactionParameter

    The server task parameters for the revert transaction from finalized calculation process

    Inherits from the item server task parameter which records the id and label of the IHeaderTransactionalEntity this task should be processed against

    Inheritance
    object
    SerializedParam
    ServerTaskParameter
    ItemParameter
    RevertTransactionParameter
    Implements
    ICloneable
    ICloneable<RevertTransactionParameter>
    INotifyPropertyChanged
    Inherited Members
    ItemParameter.OnPropChanged(string)
    ItemParameter.ID
    ItemParameter.ID_Label
    ItemParameter.PropertyChanged
    ServerTaskParameter.ShouldAutomaticallyCreateTask(IHasSaveProcessingTask, IEntityUpdater)
    ServerTaskParameter.DisplayUserParamOnSave(IHasSaveProcessingTask, IEntityUpdater)
    ServerTaskParameter.AllowSaveWithNoChangesForTaskCreation(IHasSaveProcessingTask, IEntityUpdater)
    ServerTaskParameter.AllowAutoCreateOnLockedItems
    SerializedParam.GetParam<T>(string)
    SerializedParam.GetParam<T>(byte[])
    SerializedParam.GetParam(string)
    SerializedParam.GetParam(string, bool)
    SerializedParam.GetParam(byte[])
    SerializedParam.ToSerializedString()
    SerializedParam.ToSerializedBytes()
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Core.FinancialServices.Tasks.Parameters
    Assembly: LemonEdge.API.Core.FinancialServices.dll
    Syntax
    [DataContract]
    public class RevertTransactionParameter : ItemParameter, ICloneable, ICloneable<RevertTransactionParameter>, INotifyPropertyChanged

    Constructors

    RevertTransactionParameter()

    Declaration
    public RevertTransactionParameter()

    Fields

    UNIQUE_TASK_ID

    The unique id of the revert transaction calculation server task

    Declaration
    public const string UNIQUE_TASK_ID = "d397971d-4079-4942-83cc-89fbc0680357"
    Field Value
    Type Description
    string

    Properties

    TransactionType

    The entity type for the typeof transactional item that is being reverted

    Declaration
    public Guid TransactionType { get; set; }
    Property Value
    Type Description
    Guid

    Methods

    Clone()

    Creates a new instance of this class (of type RevertTransactionParameter) with all the same property values as this instance

    Declaration
    public RevertTransactionParameter Clone()
    Returns
    Type Description
    RevertTransactionParameter

    A new instance of this class with all the same property values as this instance

    CopyFromParam(SerializedParam)

    Should be overridden by inheriting implementations to ensure all parameters values are copied from the specified source

    Declaration
    protected override void CopyFromParam(SerializedParam source)
    Parameters
    Type Name Description
    SerializedParam source

    The source instance of a SerializedParam that is of the same type as this one to copy parameter values from

    Overrides
    ItemParameter.CopyFromParam(SerializedParam)
    Remarks

    Used by the generic implementation of Clone()

    CopyFromSource(RevertTransactionParameter)

    Updates all properties in this item to have the same properties as the source object.

    Declaration
    public void CopyFromSource(RevertTransactionParameter source)
    Parameters
    Type Name Description
    RevertTransactionParameter source

    The source object to copy all values from.

    CreateNewParam()

    Must be implemented by inheriting classes to provide a new instance of the current class type.

    Used when cloning this SerializedParam to create a new instance of the same type

    Declaration
    protected override SerializedParam CreateNewParam()
    Returns
    Type Description
    SerializedParam

    A new instance of the current SerializedParam type

    Overrides
    SerializedParam.CreateNewParam()

    GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)

    Returns that this is a revert transaction task against the specified transaction

    Declaration
    public override string GetUserFriendlyTaskInstanceIdentityInfo(IServerTask task)
    Parameters
    Type Name Description
    IServerTask task

    The server task for processing the revert transaction

    Returns
    Type Description
    string

    A string stating that this is a revert transaction task against the specified transaction

    Overrides
    ServerTaskParameter.GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)

    Implements

    ICloneable
    ICloneable<T>
    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.