Class PropertyValidationMessage
Represents a message that was gathered by validating a ModelElement
Inheritance
System.Object
PropertyValidationMessage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.DataModel
Assembly: TimeCockpit.Data.dll
Syntax
public class PropertyValidationMessage
Constructors
PropertyValidationMessage()
Declaration
public PropertyValidationMessage()
Properties
ErrorMessage
Gets or sets the error message for the property that validated not ok.
Declaration
public string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PropertyName
Gets or sets the name of the property that was validated
Declaration
public string PropertyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TypeName
Gets or sets the name of the type where the property resides that was validated
Declaration
public string TypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
Gets a human readable combined representation of the validation message.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Human readable combined representation. |
Overrides
System.Object.ToString()