Class ValidationResult
A class that represents a generic validation result.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NodeNetwork
Assembly: NodeNetwork.dll
Syntax
public abstract class ValidationResult
Constructors
| Improve this Doc View SourceValidationResult(Boolean, Object)
Declaration
protected ValidationResult(bool isValid, object messageViewModel)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isValid | |
System.Object | messageViewModel |
Properties
| Improve this Doc View SourceIsValid
True if the subject is valid
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MessageViewModel
A viewmodel of the message that is to be displayed explaining this validation result.
Declaration
public object MessageViewModel { get; }
Property Value
Type | Description |
---|---|
System.Object |