Class ValidationIssue
Represents a validation issue collected during validation
Inheritance
System.Object
ValidationIssue
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OSGeo.MapGuide.MaestroAPI.Resource
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public class ValidationIssue
Constructors
| Improve this Doc View SourceValidationIssue(IResource, ValidationStatus, ValidationStatusCode, String)
Initializes a new instance of the ValidationIssue class.
Declaration
public ValidationIssue(IResource res, ValidationStatus stat, ValidationStatusCode code, string msg)
Parameters
Type | Name | Description |
---|---|---|
IResource | res | The resource. |
ValidationStatus | stat | The validation status. |
ValidationStatusCode | code | The validation status code. |
System.String | msg | The message. |
Properties
| Improve this Doc View SourceMessage
Gets the message for the validation issue
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Resource
Gets the resource this issue pertains to
Declaration
public IResource Resource { get; }
Property Value
Type | Description |
---|---|
IResource |
Status
Gets the status of the validation issue
Declaration
public ValidationStatus Status { get; }
Property Value
Type | Description |
---|---|
ValidationStatus |
StatusCode
Gets the validation status code
Declaration
public ValidationStatusCode StatusCode { get; }
Property Value
Type | Description |
---|---|
ValidationStatusCode |
Methods
| Improve this Doc View SourceEquals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with this instance. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Exceptions
Type | Condition |
---|---|
System.NullReferenceException | The |
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
System.Object.GetHashCode()