Class ValidationResult
Inheritance
System.Object
ValidationResult
Inherited Members
System.Object.ToString()
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: EPiServer.Licensing
Assembly: EPiServer.Licensing.dll
Version: 11.20.7Syntax
public class ValidationResult
Constructors
ValidationResult(Boolean, IEnumerable<String>)
Declaration
public ValidationResult(bool isValid, IEnumerable<string> messages)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isValid | |
System.Collections.Generic.IEnumerable<System.String> | messages |
ValidationResult(Boolean, IEnumerable<String>, Int32)
Declaration
public ValidationResult(bool isValid, IEnumerable<string> messages, int severity)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isValid | |
System.Collections.Generic.IEnumerable<System.String> | messages | |
System.Int32 | severity |
ValidationResult(String)
Declaration
public ValidationResult(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Fields
Valid
Declaration
public static readonly ValidationResult Valid
Field Value
Type | Description |
---|---|
ValidationResult |
Properties
IsValid
Declaration
public bool IsValid { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Messages
Declaration
public IEnumerable<string> Messages { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Severity
Declaration
public int Severity { get; protected set; }
Property Value
Type | Description |
---|---|
System.Int32 |