Class ValidatorCollection
Represents collection of meta class validator wrappers.
Inheritance
System.Object
System.Collections.CollectionBase
ValidatorCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.GetEnumerator()
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
System.Collections.CollectionBase.OnClear()
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
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: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 12.17.2Syntax
public class ValidatorCollection : CollectionBase, IList, ICollection, IEnumerable, 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()
Overrides
System.Collections.CollectionBase.OnClearComplete()
OnInsertComplete(Int32, Object)
Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
Overrides
System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
OnRemoveComplete(Int32, Object)
Declaration
protected override void OnRemoveComplete(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
Overrides
System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
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 |
Overrides
System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
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 |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable