Click or drag to resize

ValidatableMemberTValue, TChangeType Class

Class which represents a member variable which is commandified but also validatable, so setting the value occurs through commands.
Inheritance Hierarchy
SystemObject
  SD.Tools.Algorithmia.GeneralDataStructuresCommandifiedMemberTValue, TChangeType
    SD.LLBLGen.Pro.Core.GeneralDataStructuresValidatableMemberTValue, TChangeType

Namespace:  SD.LLBLGen.Pro.Core.GeneralDataStructures
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.8.0.0 (5.8.21.0208)
Syntax
public class ValidatableMember<TValue, TChangeType> : CommandifiedMember<TValue, TChangeType>

Type Parameters

TValue
The type of the value.
TChangeType
The type of the change type.

The ValidatableMemberTValue, TChangeType type exposes the following members.

Constructors
  NameDescription
Public methodValidatableMemberTValue, TChangeType(String, TChangeType, ErrorContainer)
Initializes a new instance of the ValidatableMemberTValue, TChangeType class.
Public methodValidatableMemberTValue, TChangeType(String, TChangeType, ErrorContainer, TValue)
Initializes a new instance of the ValidatableMemberTValue, TChangeType class.
Top
Properties
Methods
  NameDescription
Public methodBindToElementChanged
Binds to INotifyElementChanged.ElementChanged on the value set in memberValue, if supported.
(Inherited from CommandifiedMemberTValue, TChangeType.)
Public methodBindToElementRemoved
Binds to the ElementRemoved event
(Inherited from CommandifiedMemberTValue, TChangeType.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAfterMemberValueSet
Called after the membervalue has been set to a new value.
(Inherited from CommandifiedMemberTValue, TChangeType.)
Protected methodOnBeforeMemberValueSet
Called before the membervalue is about to be set to the value specified.
(Inherited from CommandifiedMemberTValue, TChangeType.)
Protected methodOnMemberSetToSameValue
Called when the member is set to the same value it already has
(Inherited from CommandifiedMemberTValue, TChangeType.)
Protected methodResetErrorForMember
Resets the error for member.
(Inherited from CommandifiedMemberTValue, TChangeType.)
Public methodSetInitialValue
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.
(Inherited from CommandifiedMemberTValue, TChangeType.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from CommandifiedMemberTValue, TChangeType.)
Public methodUnbindFromElementChanged
Unbinds from the ElementChanged event
(Inherited from CommandifiedMemberTValue, TChangeType.)
Public methodUnbindFromElementRemoved
Unbinds from the ElementRemoved event
(Inherited from CommandifiedMemberTValue, TChangeType.)
Protected methodValidateMemberValue
Validates the member value.
(Overrides CommandifiedMemberTValue, TChangeTypeValidateMemberValue(TValue, Boolean, Boolean, TValue).)
Top
Events
  NameDescription
Public eventErrorReset
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.
(Inherited from CommandifiedMemberTValue, TChangeType.)
Public eventValueChanged
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.
(Inherited from CommandifiedMemberTValue, TChangeType.)
Public eventValueElementRemoved
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.
(Inherited from CommandifiedMemberTValue, TChangeType.)
Top
See Also