Class CommissionGroupItem
- Namespace
- ATAS.DataFeedsCore.Commissions
- Assembly
- ATAS.DataFeedsCore.dll
One rule of a CommissionGroup in its saved form: the rule type and its serialized settings.
public class CommissionGroupItem
- Inheritance
-
objectCommissionGroupItem
- Extension Methods
Constructors
CommissionGroupItem()
public CommissionGroupItem()
Properties
GroupId
The Id of the group the rule belongs to; set when the group is saved.
public long GroupId { get; set; }
Property Value
- long
Rule
The deserialized rule, when the code that loaded the item filled it; may be null otherwise (the commission rules are created from TypeName and Settings).
public ICommissionRule Rule { get; set; }
Property Value
Settings
The serialized rule, deserialized as TypeName.
public string Settings { get; set; }
Property Value
- string
TypeName
Type name of the rule, an ICommissionRule implementation; Init(CommissionGroup) skips the rule when the type is not found.
public string TypeName { get; set; }
Property Value
- string
Methods
OnPropertyChanged(string)
Raises PropertyChanged.
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyNamestringThe name of the changed property.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Events
PropertyChanged
Occurs when a property value changes; the properties of this class do not raise it themselves.
Added in ATAS 8.0.15.
public event PropertyChangedEventHandler? PropertyChanged
Event Type
- PropertyChangedEventHandler