Class TransactionItemProcessor<T>
Inheritance
TransactionItemProcessor<T>
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Params
Assembly: LemonEdge.ClientEntities.dll
Syntax
public abstract class TransactionItemProcessor<T> : ParamSingleViewerController<T>, IPopupWindowController<T>, IParamViewerController, IPopupWindowController, IController where T : TransactionItemParameter
Type Parameters
Name | Description |
---|---|
T |
Constructors
TransactionItemProcessor(IParamSingleViewer<T>, T)
Declaration
public TransactionItemProcessor(IParamSingleViewer<T> window, T param)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<T> | window | |
T | param |
Properties
TransactionItemType
Declaration
protected abstract EntityDescriptor TransactionItemType { get; }
Property Value
Type | Description |
---|---|
EntityDescriptor |
Methods
AlterControlInfo(ControlDisplayInfo)
Can be overridden in the derived class to alter the control definition with specific, or dynamic, information such as filters for lookup controls
Declaration
protected override void AlterControlInfo(ControlDisplayInfo info)
Parameters
Type | Name | Description |
---|---|---|
ControlDisplayInfo | info | THe control that should be altered |
Overrides
LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<T>.AlterControlInfo(LemonEdge.Client.UI.API.Controls.ControlDisplayInfo)
ControlNames()
Can be overridden in a derived class to indicate all the controls to be created in this single parameter popup form
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfoLight> | All the controls to be created in this single parameter popup form |
Overrides
LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<T>.ControlNames()
Display()
Overridse the default display method to enumerate all the Controls() in this popup parameter form and display their values
Declaration
public override Task Display()
Returns
Type | Description |
---|---|
Task | A task indicating the completion of the operation |
Overrides
LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<T>.Display()
OnItemChanged(object, PropertyChangedEventArgs)
Fires if the type T implements INotifyPropertyChanged, for every change in the property
Declaration
protected override void OnItemChanged(object sender, PropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
object | sender | The sender of the event |
PropertyChangedEventArgs | e | THe event argumnets holding the property changed |