CommandifiedMemberTValue, TChangeType Class |
Namespace: SD.Tools.Algorithmia.GeneralDataStructures
The CommandifiedMemberTValue, TChangeType type exposes the following members.
Name | Description | |
---|---|---|
CommandifiedMemberTValue, TChangeType(String, TChangeType) |
Initializes a new instance of the CommandifiedMemberTValue, TChangeType class.
| |
CommandifiedMemberTValue, TChangeType(String, TChangeType, ErrorContainer) |
Initializes a new instance of the CommandifiedMemberTValue, TChangeType class.
| |
CommandifiedMemberTValue, TChangeType(String, TChangeType, TValue) |
Initializes a new instance of the CommandifiedMemberTValue, TChangeType class.
| |
CommandifiedMemberTValue, TChangeType(String, TChangeType, ErrorContainer, TValue) |
Initializes a new instance of the CommandifiedMemberTValue, TChangeType class.
|
Name | Description | |
---|---|---|
LoggedErrors |
Gets the logged errors.
| |
MemberName |
Gets the name of the member.
| |
MemberValue |
Gets or sets the member value.
| |
ThrowExceptionOnValidationError |
Gets or sets a value indicating whether an exception should be thrown if validation fails (true, default) or not (false)
|
Name | Description | |
---|---|---|
BindToElementChanged |
Binds to INotifyElementChanged.ElementChanged on the value set in memberValue, if supported.
| |
BindToElementRemoved |
Binds to the ElementRemoved event
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnAfterMemberValueSet |
Called after the membervalue has been set to a new value.
| |
OnBeforeMemberValueSet |
Called before the membervalue is about to be set to the value specified.
| |
OnMemberSetToSameValue |
Called when the member is set to the same value it already has
| |
ResetErrorForMember |
Resets the error for member.
| |
SetInitialValue |
Sets the initial value of this commandified member. It does this by bypassing the actual member set function.
Use this method to avoid events being raised while setting the value and also when you want to avoid using commands to set the value, as the
memberValue is set without using commands. No validation occurs as well, so only use this if you want to set the initial value after the ctor
has already been called.
| |
ToString | (Overrides ObjectToString.) | |
UnbindFromElementChanged |
Unbinds from the ElementChanged event
| |
UnbindFromElementRemoved |
Unbinds from the ElementRemoved event
| |
ValidateMemberValue |
Validates the member value.
|
Name | Description | |
---|---|---|
ErrorReset |
Event which is raised explicitly to signal subscribers that the error has been reset. This event is only raised if there's a necessity for it:
If there's an error set and this object was set to the same value, resetting the error, subscribers don't know the error has been reset as the
member value itself won't be changed. This event will notify them that the error has been reset and they should raise a Propertychanged event to
notify UI elements that they can clear ErrorInfo providers.
| |
ValueChanged |
Event which is raised when MemberValue is set to a different value. If MemberValue's value is a mutable object and implements INotifyElementChanged, the
event is also raised when some values inside the value object change. In that case, the original value and the new value in the event args
are the same.
| |
ValueElementRemoved |
Event which is raised when the value implements INotifyElementRemoved and it got removed from its container. This event
is used in that situation to notify observers that the value of this CommandifiedMember is no longer usable.
|