Base class for TagHelper collections that contain items of type T.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public abstract class TagHelperCollectionBase<T> : TagHelperChildBase, ITagHelper, ITagHelperComponent, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable where T : TagHelperCollectionItemBase
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionBase<T>
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the TagHelperCollectionBase<T> class with an empty collection.
Properties
Internal reference to the collection of items.
protected IList<T> InternalRef { get; set; }
Gets a value indicating whether the collection is read-only.
public bool IsReadOnly { get; }
Implements:
Methods
Adds an item to the collection.
public void Add(T item)
Implements:
Removes all items from the collection.
public void Clear()
Implements:
Checks if the collection contains a specific item.
Copies the elements of the collection to an array, starting at a specified array index.
Returns an enumerator that iterates through the collection.
Returns the index of a specific item in the collection.
Inserts an item at the specified index in the collection.
Removes the first occurrence of a specific item from the collection.
Removes the item at the specified index from the collection.