CodeBlockCollection - класс

Коллекция элементов выражения

Definition

Пространство имён: Tessa.Views.Parser.ExpressionEval
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public class CodeBlockCollection : List<CodeBlock>
Inheritance
Object    ListCodeBlock    CodeBlockCollection

Конструкторы

CodeBlockCollection Initializes a new instance of the CodeBlockCollection class.

Свойства

CapacityGets or sets the total number of elements the internal data structure can hold without resizing.
(Унаследован от ListCodeBlock)
CountGets the number of elements contained in the ListT.
(Унаследован от ListCodeBlock)
ItemGets or sets the element at the specified index.
(Унаследован от ListCodeBlock)
OriginalCode Gets Строковое представление кода

Методы

AddAdds an object to the end of the ListT.
(Унаследован от ListCodeBlock)
AddRangeAdds the elements of the specified collection to the end of the ListT.
(Унаследован от ListCodeBlock)
AsReadOnlyReturns a read-only ReadOnlyCollectionT wrapper for the current collection.
(Унаследован от ListCodeBlock)
BinarySearch(T)Searches the entire sorted ListT for an element using the default comparer and returns the zero-based index of the element.
(Унаследован от ListCodeBlock)
BinarySearch(T, IComparerT)Searches the entire sorted ListT for an element using the specified comparer and returns the zero-based index of the element.
(Унаследован от ListCodeBlock)
BinarySearch(Int32, Int32, T, IComparerT)Searches a range of elements in the sorted ListT for an element using the specified comparer and returns the zero-based index of the element.
(Унаследован от ListCodeBlock)
ClearRemoves all elements from the ListT.
(Унаследован от ListCodeBlock)
ContainsDetermines whether an element is in the ListT.
(Унаследован от ListCodeBlock)
ConvertAllTOutputConverts the elements in the current ListT to another type, and returns a list containing the converted elements.
(Унаследован от ListCodeBlock)
CopyTo(T)Copies the entire ListT to a compatible one-dimensional array, starting at the beginning of the target array.
(Унаследован от ListCodeBlock)
CopyTo(T, Int32)Copies the entire ListT to a compatible one-dimensional array, starting at the specified index of the target array.
(Унаследован от ListCodeBlock)
CopyTo(Int32, T, Int32, Int32)Copies a range of elements from the ListT to a compatible one-dimensional array, starting at the specified index of the target array.
(Унаследован от ListCodeBlock)
EnsureCapacityEnsures that the capacity of this list is at least the specified capacity. If the current capacity is less than capacity, it is successively increased to twice the current capacity until it is at least the specified capacity.
(Унаследован от ListCodeBlock)
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
ExistsDetermines whether the ListT contains elements that match the conditions defined by the specified predicate.
(Унаследован от ListCodeBlock)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
FindSearches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire ListT.
(Унаследован от ListCodeBlock)
FindAllRetrieves all the elements that match the conditions defined by the specified predicate.
(Унаследован от ListCodeBlock)
FindIndex(PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire ListT.
(Унаследован от ListCodeBlock)
FindIndex(Int32, PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ListT that extends from the specified index to the last element.
(Унаследован от ListCodeBlock)
FindIndex(Int32, Int32, PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ListT that starts at the specified index and contains the specified number of elements.
(Унаследован от ListCodeBlock)
FindLastSearches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire ListT.
(Унаследован от ListCodeBlock)
FindLastIndex(PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire ListT.
(Унаследован от ListCodeBlock)
FindLastIndex(Int32, PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ListT that extends from the first element to the specified index.
(Унаследован от ListCodeBlock)
FindLastIndex(Int32, Int32, PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ListT that contains the specified number of elements and ends at the specified index.
(Унаследован от ListCodeBlock)
ForEachPerforms the specified action on each element of the ListT.
(Унаследован от ListCodeBlock)
GetEnumeratorReturns an enumerator that iterates through the ListT.
(Унаследован от ListCodeBlock)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetRangeCreates a shallow copy of a range of elements in the source ListT.
(Унаследован от ListCodeBlock)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
IndexOf(T)Searches for the specified object and returns the zero-based index of the first occurrence within the entire ListT.
(Унаследован от ListCodeBlock)
IndexOf(T, Int32)Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the ListT that extends from the specified index to the last element.
(Унаследован от ListCodeBlock)
IndexOf(T, Int32, Int32)Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the ListT that starts at the specified index and contains the specified number of elements.
(Унаследован от ListCodeBlock)
InsertInserts an element into the ListT at the specified index.
(Унаследован от ListCodeBlock)
InsertRangeInserts the elements of a collection into the ListT at the specified index.
(Унаследован от ListCodeBlock)
LastIndexOf(T)Searches for the specified object and returns the zero-based index of the last occurrence within the entire ListT.
(Унаследован от ListCodeBlock)
LastIndexOf(T, Int32)Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the ListT that extends from the first element to the specified index.
(Унаследован от ListCodeBlock)
LastIndexOf(T, Int32, Int32)Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the ListT that contains the specified number of elements and ends at the specified index.
(Унаследован от ListCodeBlock)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
RemoveRemoves the first occurrence of a specific object from the ListT.
(Унаследован от ListCodeBlock)
RemoveAllRemoves all the elements that match the conditions defined by the specified predicate.
(Унаследован от ListCodeBlock)
RemoveAtRemoves the element at the specified index of the ListT.
(Унаследован от ListCodeBlock)
RemoveRangeRemoves a range of elements from the ListT.
(Унаследован от ListCodeBlock)
ReverseReverses the order of the elements in the entire ListT.
(Унаследован от ListCodeBlock)
Reverse(Int32, Int32)Reverses the order of the elements in the specified range.
(Унаследован от ListCodeBlock)
SliceCreates a shallow copy of a range of elements in the source ListT.
(Унаследован от ListCodeBlock)
SortSorts the elements in the entire ListT using the default comparer.
(Унаследован от ListCodeBlock)
Sort(ComparisonT)Sorts the elements in the entire ListT using the specified ComparisonT.
(Унаследован от ListCodeBlock)
Sort(IComparerT)Sorts the elements in the entire ListT using the specified comparer.
(Унаследован от ListCodeBlock)
Sort(Int32, Int32, IComparerT)Sorts the elements in a range of elements in ListT using the specified comparer.
(Унаследован от ListCodeBlock)
ToArrayCopies the elements of the ListT to a new array.
(Унаследован от ListCodeBlock)
ToString Возвращает объект String, который представляет текущий объект Object.
(Переопределяет ObjectToString)
TrimExcessSets the capacity to the actual number of elements in the ListT, if that number is less than a threshold value.
(Унаследован от ListCodeBlock)
TrueForAllDetermines whether every element in the ListT matches the conditions defined by the specified predicate.
(Унаследован от ListCodeBlock)

См. также