SaaS CMS has officially launched! Learn more now.

Class ValidatorCollection

Represents validator collection.

Inheritance
System.Object
System.Collections.ObjectModel.Collection<IValidator>
ValidatorCollection
Implements
System.Collections.Generic.IList<IValidator>
System.Collections.Generic.ICollection<IValidator>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<IValidator>
System.Collections.Generic.IReadOnlyCollection<IValidator>
System.Collections.Generic.IEnumerable<IValidator>
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.Add(Mediachase.BusinessFoundation.Data.IValidator)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.Clear()
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.CopyTo(Mediachase.BusinessFoundation.Data.IValidator[], System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.Contains(Mediachase.BusinessFoundation.Data.IValidator)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.GetEnumerator()
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.IndexOf(Mediachase.BusinessFoundation.Data.IValidator)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.Insert(System.Int32, Mediachase.BusinessFoundation.Data.IValidator)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.Remove(Mediachase.BusinessFoundation.Data.IValidator)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.Count
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.Items
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.Generic.ICollection<Mediachase.BusinessFoundation.Data.IValidator>.IsReadOnly
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.System.Collections.IList.IsFixedSize
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
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public class ValidatorCollection : Collection<IValidator>, IList<IValidator>, ICollection<IValidator>, IList, ICollection, IReadOnlyList<IValidator>, IReadOnlyCollection<IValidator>, IEnumerable<IValidator>, IEnumerable

Constructors

ValidatorCollection()

Initializes a new instance of the ValidatorCollection class.

Declaration
public ValidatorCollection()

ValidatorCollection(Object)

Initializes a new instance of the ValidatorCollection class.

Declaration
public ValidatorCollection(object owner)
Parameters
Type Name Description
System.Object owner

The owner.

Methods

ClearItems()

Performs additional custom processes when clearing the contents of the System.Collections.CollectionBase instance.

Declaration
protected override void ClearItems()
Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.ClearItems()

InsertItem(Int32, IValidator)

Performs additional custom processes after inserting a new element into the System.Collections.CollectionBase instance.

Declaration
protected override void InsertItem(int index, IValidator item)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which to insert value.

IValidator item

The object to insert. The value can be null for reference types.

Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.InsertItem(System.Int32, Mediachase.BusinessFoundation.Data.IValidator)
Exceptions
Type Condition
System.ArgumentOutOfRangeException

index is less than zero.-or-index is greater than System.Collections.ObjectModel.Collection<T>.Count.

RemoveItem(Int32)

Performs additional custom processes after removing an element from the System.Collections.CollectionBase instance.

Declaration
protected override void RemoveItem(int index)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which value can be found.

Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.RemoveItem(System.Int32)

SetItem(Int32, IValidator)

Performs additional custom processes after setting a value in the System.Collections.CollectionBase instance.

Declaration
protected override void SetItem(int index, IValidator item)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which oldValue can be found.

IValidator item

The new value for the element at the specified index. The value can be null for reference types.

Overrides
System.Collections.ObjectModel.Collection<Mediachase.BusinessFoundation.Data.IValidator>.SetItem(System.Int32, Mediachase.BusinessFoundation.Data.IValidator)
Exceptions
Type Condition
System.ArgumentOutOfRangeException

index is less than zero.-or-index is greater than System.Collections.ObjectModel.Collection<T>.Count.

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable