Class ValidatorCollection
Represents collection of meta class validator wrappers.
Inheritance
System.Object
ValidatorCollection
Implements
Namespace: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0Syntax
public class ValidatorCollection : CollectionBase, IChangeTracking
Constructors
ValidatorCollection()
Initializes a new instance of the MetaFieldValidatorCollection class.
Declaration
public ValidatorCollection()
Properties
Item[Int32]
Gets the MetaFieldValidator at the specified index.
Declaration
public Validator this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
Validator |
Methods
Add(Validator)
Adds the internal.
Declaration
public int Add(Validator validator)
Parameters
Type | Name | Description |
---|---|---|
Validator | validator | The validator. |
Returns
Type | Description |
---|---|
System.Int32 |
Add(ValidatorCollection)
Adds the specified validators.
Declaration
public void Add(ValidatorCollection validators)
Parameters
Type | Name | Description |
---|---|---|
ValidatorCollection | validators | The validators. |
Contains(Validator)
Determines whether [contains] [the specified validator].
Declaration
public bool Contains(Validator validator)
Parameters
Type | Name | Description |
---|---|---|
Validator | validator | The validator. |
Returns
Type | Description |
---|---|
System.Boolean |
|
IndexOf(Validator)
Indexes the of.
Declaration
public int IndexOf(Validator validator)
Parameters
Type | Name | Description |
---|---|---|
Validator | validator | The validator. |
Returns
Type | Description |
---|---|
System.Int32 |
Insert(Int32, Validator)
Inserts the specified index.
Declaration
public void Insert(int index, Validator validator)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Validator | validator | The validator. |
OnClearComplete()
Declaration
protected override void OnClearComplete()
OnInsertComplete(Int32, Object)
Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
OnRemoveComplete(Int32, Object)
Declaration
protected override void OnRemoveComplete(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
OnSetComplete(Int32, Object, Object)
Declaration
protected override void OnSetComplete(int index, object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | oldValue | |
System.Object | newValue |
Remove(Validator)
Removes the specified meta class.
Declaration
public void Remove(Validator validator)
Parameters
Type | Name | Description |
---|---|---|
Validator | validator | The meta class. |
Explicit Interface Implementations
IChangeTracking.AcceptChanges()
Declaration
void IChangeTracking.AcceptChanges()
IChangeTracking.IsChanged
Declaration
bool IChangeTracking.IsChanged { get; }
Returns
Type | Description |
---|---|
System.Boolean |