Class ValidationContext
Inheritance
System.Object
ValidationContext
Assembly: Emby.Web.GenericEdit.dll
Syntax
public class ValidationContext
Properties
Container
Declaration
public EditObjectContainer Container { get; }
Property Value
CurrentEditorGroup
Declaration
public EditorGroup CurrentEditorGroup { get; }
Property Value
CurrentObject
Declaration
public EditableObjectBase CurrentObject { get; }
Property Value
ErrorList
Declaration
public ValidationErrorList ErrorList { get; }
Property Value
FullId
Declaration
public string FullId { get; }
Property Value
Type |
Description |
System.String |
|
HasErrors
Declaration
public bool HasErrors { get; }
Property Value
Type |
Description |
System.Boolean |
|
LocalId
Declaration
public string LocalId { get; }
Property Value
Type |
Description |
System.String |
|
ParentContext
Declaration
public ValidationContext ParentContext { get; }
Property Value
Methods
AddValidationError(String)
Declaration
public void AddValidationError(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
AddValidationError(String, String)
Declaration
public void AddValidationError(string propertyName, string message)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
System.String |
message |
|
GetResult()
Declaration
public ValidationResult GetResult()
Returns
Extension Methods