LayerKeyedCollection Class

Layers collection.
Public Class LayerKeyedCollection 
Inherits EyeshotDisposableKeyedCollection(Of Layer)
This language is not supported or no code example is available.
public class LayerKeyedCollection : EyeshotDisposableKeyedCollection<Layer>
This language is not supported or no code example is available.
Name Description
Public constructor LayerKeyedCollection() Empty constructor.
Public constructor LayerKeyedCollection(Layer) Constructor with default layer.
Public constructor LayerKeyedCollection(LayerKeyedCollection)
Top
Name Description
Public property Comparer Gets the generic equality comparer that is used to determine equality of keys in the collection. (inherited from KeyedCollection<TKey, TItem>).
Protected property DisposeItems True when the collection belongs to a Environment control and items must be disposed after removal. (inherited from EyeshotDisposableKeyedCollection<T>).
Public property Item(TKey) Gets the element with the specified key. (System.Collections.ObjectModel.KeyedCollection<TKey, TItem>).
Public property Item(int) Gets or sets the element at the specified index.
Public property Item(string) Gets the element with the specified name.
Top
Methods
 
Name Description
Public method Add(T) Adds one item at the end of this collection. (inherited from EyeshotKeyedCollection<T>).
Public method Add(Layer) Adds one Layer at the end of this collection.
Public method Add(string) Adds one Layer at the end of this collection.
Public method Add(string, Color) Adds one Layer at the end of this collection.
Public method Add(string, Color, bool) Adds a layer at the end of this collection.
Public method Add(string, Color, string) Adds one Layer at the end of this collection.
Public method Add(string, Color, string, string) Adds a layer at the end of this collection..
Public method AddOrReplace(T) Adds or replaces an element. (inherited from EyeshotKeyedCollection<T>).
Public method AddRange(IList<Layer>) Adds the Layers of the specified collection to the end of this one.
Public method AddRange(IEnumerable<T>) Adds the items of the specified collection to the end of this collection. (inherited from EyeshotKeyedCollection<T>).
Protected method AreEntitiesWith(string) Tells if there are some entities using this element. (inherited from EyeshotKeyedCollection<T>).
Protected method AreEntitiesWith(string, IList<Entity>) Tells if there are some entities using this dictionary element.
Protected method Static AreEqualStrings(string, string) (inherited from EyeshotKeyedCollection<T>).
Internal protected (Protected Friend) method ChangeEntitiesRegenMode(IEnumerable<Entity>, string)
Internal protected (Protected Friend) method ChangeEntitiesRegenMode(string) Changes the RegenMode for all the Environment Entities according to the replaced item. (inherited from EyeshotKeyedCollection<T>).
Protected method ChangeItemKey(TItem, TKey) Changes the key associated with the specified element in the lookup dictionary. (inherited from KeyedCollection<TKey, TItem>).
Internal protected (Protected Friend) method CheckItemIndex(int, bool) Checks if an index is valid for the collection. (inherited from EyeshotKeyedCollection<T>).
Internal protected (Protected Friend) method CheckItemKey(string, bool) Checks if a key exists in the collection. (inherited from EyeshotKeyedCollection<T>).
Public method Clear() Clears this collection and adds a layer called "Default".
Public method Clear(Layer) Clears this collection and adds a default layer.
Public method Clear(bool) Clears this collection.
Protected method ClearItems() (inherited from EyeshotDisposableKeyedCollection<T>).
Public method Contains(TKey) Determines whether the collection contains an element with the specified key. (inherited from KeyedCollection<TKey, TItem>).
Protected method DisposeItem(T) Dispose the item of the collection. (inherited from EyeshotDisposableKeyedCollection<T>).
Public method Empty(int) Removes all the entities on the specified layer.
Public method Empty(string) Removes all the entities on the specified layer.
Protected method GetKeyForItem(Layer)
Protected method InsertItem(Int32, TItem) Inserts an element into the KeyedCollection<TKey, TItem> at the specified index. (System.Collections.ObjectModel.KeyedCollection<TKey, TItem>).
Protected method InsertItem(int, T)
Protected method ItemCanBeRemoved(T, string) Checks if a specific item is used somewhere. (inherited from EyeshotKeyedCollection<T>).
Public method Remove(Layer) Removes the specified layer and all entities on it.
Public method Remove(string) Removes the specified layer and all entities on it.
Public method RemoveAt(int) Removes the specified layer and all entities on it.
Protected method RemoveItem(int) (inherited from EyeshotDisposableKeyedCollection<T>).
Public method ReplaceItem(T) Replaces the element with the same key. (inherited from EyeshotKeyedCollection<T>).
Protected method SetItem(int, Layer)
Protected method SetItem(int, T) (inherited from EyeshotKeyedCollection<T>).
Public method TryAdd(T) Adds an element only if not already present in the collection. (inherited from EyeshotKeyedCollection<T>).
Public method TryGetValue(string, out T) Gets the value associated with the specified key. (inherited from EyeshotKeyedCollection<T>).
Public method TryRemove(T) Removes the item form the collection, if present.
Public method TryRemove(string) Removes the the value associated with the specified key form the collection, if present.
Public method TurnAllOff() Turns all layers off.
Public method TurnAllOn() Turns all layers on.
Public method TurnOff(int) Turns the specified layer off.
Public method TurnOff(string) Turns the specified layer off.
Public method TurnOn(int) Turns the specified layer on.
Public method TurnOn(string) Turns the specified layer on.
Top
Name Description
Public extension method Aggregate<TSource>(Func<TSource, TSource, TSource>) Applies an accumulator function over a sequence. (Defined by Enumerable).
Public extension method Aggregate<TSource, TAccumulate>(TAccumulate, Func<TAccumulate, TSource, TAccumulate>) Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. (Defined by Enumerable).
Public extension method Aggregate<TSource, TAccumulate, TResult>(TAccumulate, Func<TAccumulate, TSource, TAccumulate>, Func<TAccumulate, TResult>) Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value. (Defined by Enumerable).
Public extension method All<TSource>(Func<TSource, Boolean>) Determines whether all elements of a sequence satisfy a condition. (Defined by Enumerable).
Public extension method Ancestors<T>(XName) Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching XName are included in the collection. (Defined by Extensions).
Public extension method Ancestors<T>() Returns a collection of elements that contains the ancestors of every node in the source collection. (Defined by Extensions).
Public extension method Any<TSource>() Determines whether a sequence contains any elements. (Defined by Enumerable).
Public extension method Any<TSource>(Func<TSource, Boolean>) Determines whether any element of a sequence satisfies a condition. (Defined by Enumerable).
Public extension method Append<TSource>(TSource) Appends a value to the end of the sequence. (Defined by Enumerable).
Public extension method AsEnumerable<TSource>() Returns the input typed as IEnumerable<T>. (Defined by Enumerable).
Public extension method AsParallel() Enables parallelization of a query. (Defined by ParallelEnumerable).
Public extension method AsParallel<TSource>() Enables parallelization of a query. (Defined by ParallelEnumerable).
Public extension method AsQueryable<TElement>() Converts a generic IEnumerable<T> to a generic IQueryable<T>. (Defined by Queryable).
Public extension method AsQueryable() Converts an IEnumerable to an IQueryable. (Defined by Queryable).
Public extension method Average<TSource>(Func<TSource, Int32>) Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Average<TSource>(Func<TSource, Nullable<Int32>>) Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Average<TSource>(Func<TSource, Nullable<Int64>>) Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Average<TSource>(Func<TSource, Single>) Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Average<TSource>(Func<TSource, Nullable<Single>>) Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Average<TSource>(Func<TSource, Double>) Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Average<TSource>(Func<TSource, Nullable<Double>>) Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Average<TSource>(Func<TSource, Decimal>) Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Average<TSource>(Func<TSource, Nullable<Decimal>>) Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Average<TSource>(Func<TSource, Int64>) Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Cast<TResult>() Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable).
Public extension method Concat<TSource>(IEnumerable<TSource>) Concatenates two sequences. (Defined by Enumerable).
Public extension method Contains<TSource>(TSource, IEqualityComparer<TSource>) Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>. (Defined by Enumerable).
Public extension method Contains<TSource>(TSource) Determines whether a sequence contains a specified element by using the default equality comparer. (Defined by Enumerable).
Public extension method CopyToDataTable<T>() Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow. (Defined by DataTableExtensions).
Public extension method CopyToDataTable<T>(DataTable, LoadOption) Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow. (Defined by DataTableExtensions).
Public extension method CopyToDataTable<T>(DataTable, LoadOption, FillErrorEventHandler) Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow. (Defined by DataTableExtensions).
Public extension method Count<TSource>(Func<TSource, Boolean>) Returns a number that represents how many elements in the specified sequence satisfy a condition. (Defined by Enumerable).
Public extension method Count<TSource>() Returns the number of elements in a sequence. (Defined by Enumerable).
Public extension method DefaultIfEmpty<TSource>(TSource) Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. (Defined by Enumerable).
Public extension method DefaultIfEmpty<TSource>() Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. (Defined by Enumerable).
Public extension method DescendantNodes<T>() Returns a collection of the descendant nodes of every document and element in the source collection. (Defined by Extensions).
Public extension method Descendants<T>(XName) Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection. (Defined by Extensions).
Public extension method Descendants<T>() Returns a collection of elements that contains the descendant elements of every element and document in the source collection. (Defined by Extensions).
Public extension method Distinct<TSource>(IEqualityComparer<TSource>) Returns distinct elements from a sequence by using a specified IEqualityComparer<T> to compare values. (Defined by Enumerable).
Public extension method Distinct<TSource>() Returns distinct elements from a sequence by using the default equality comparer to compare values. (Defined by Enumerable).
Public extension method ElementAt<TSource>(Int32) Returns the element at a specified index in a sequence. (Defined by Enumerable).
Public extension method ElementAtOrDefault<TSource>(Int32) Returns the element at a specified index in a sequence or a default value if the index is out of range. (Defined by Enumerable).
Public extension method Elements<T>() Returns a collection of the child elements of every element and document in the source collection. (Defined by Extensions).
Public extension method Elements<T>(XName) Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection. (Defined by Extensions).
Public extension method Except<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>) Produces the set difference of two sequences by using the specified IEqualityComparer<T> to compare values. (Defined by Enumerable).
Public extension method Except<TSource>(IEnumerable<TSource>) Produces the set difference of two sequences by using the default equality comparer to compare values. (Defined by Enumerable).
Public extension method First<TSource>(Func<TSource, Boolean>) Returns the first element in a sequence that satisfies a specified condition. (Defined by Enumerable).
Public extension method First<TSource>() Returns the first element of a sequence. (Defined by Enumerable).
Public extension method FirstOrDefault<TSource>(Func<TSource, Boolean>) Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable).
Public extension method FirstOrDefault<TSource>() Returns the first element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable).
Public extension method GroupBy<TSource, TKey, TResult>(Func<TSource, TKey>, Func<TKey, IEnumerable<TSource>, TResult>, IEqualityComparer<TKey>) Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The keys are compared by using a specified comparer. (Defined by Enumerable).
Public extension method GroupBy<TSource, TKey>(Func<TSource, TKey>, IEqualityComparer<TKey>) Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer. (Defined by Enumerable).
Public extension method GroupBy<TSource, TKey, TElement>(Func<TSource, TKey>, Func<TSource, TElement>) Groups the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function. (Defined by Enumerable).
Public extension method GroupBy<TSource, TKey, TElement>(Func<TSource, TKey>, Func<TSource, TElement>, IEqualityComparer<TKey>) Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function. (Defined by Enumerable).
Public extension method GroupBy<TSource, TKey>(Func<TSource, TKey>) Groups the elements of a sequence according to a specified key selector function. (Defined by Enumerable).
Public extension method GroupBy<TSource, TKey, TElement, TResult>(Func<TSource, TKey>, Func<TSource, TElement>, Func<TKey, IEnumerable<TElement>, TResult>, IEqualityComparer<TKey>) Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function. (Defined by Enumerable).
Public extension method GroupBy<TSource, TKey, TElement, TResult>(Func<TSource, TKey>, Func<TSource, TElement>, Func<TKey, IEnumerable<TElement>, TResult>) Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function. (Defined by Enumerable).
Public extension method GroupBy<TSource, TKey, TResult>(Func<TSource, TKey>, Func<TKey, IEnumerable<TSource>, TResult>) Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. (Defined by Enumerable).
Public extension method GroupJoin<TOuter, TInner, TKey, TResult>(IEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, IEnumerable<TInner>, TResult>) Correlates the elements of two sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. (Defined by Enumerable).
Public extension method GroupJoin<TOuter, TInner, TKey, TResult>(IEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>) Correlates the elements of two sequences based on key equality and groups the results. A specified IEqualityComparer<T> is used to compare keys. (Defined by Enumerable).
Public extension method InDocumentOrder<T>() Returns a collection of nodes that contains all nodes in the source collection, sorted in document order. (Defined by Extensions).
Public extension method Intersect<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>) Produces the set intersection of two sequences by using the specified IEqualityComparer<T> to compare values. (Defined by Enumerable).
Public extension method Intersect<TSource>(IEnumerable<TSource>) Produces the set intersection of two sequences by using the default equality comparer to compare values. (Defined by Enumerable).
Public extension method Join<TOuter, TInner, TKey, TResult>(IEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, TInner, TResult>) Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. (Defined by Enumerable).
Public extension method Join<TOuter, TInner, TKey, TResult>(IEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, TInner, TResult>, IEqualityComparer<TKey>) Correlates the elements of two sequences based on matching keys. A specified IEqualityComparer<T> is used to compare keys. (Defined by Enumerable).
Public extension method Last<TSource>() Returns the last element of a sequence. (Defined by Enumerable).
Public extension method Last<TSource>(Func<TSource, Boolean>) Returns the last element of a sequence that satisfies a specified condition. (Defined by Enumerable).
Public extension method LastOrDefault<TSource>(Func<TSource, Boolean>) Returns the last element of a sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable).
Public extension method LastOrDefault<TSource>() Returns the last element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable).
Public extension method LongCount<TSource>(Func<TSource, Boolean>) Returns an Int64 that represents how many elements in a sequence satisfy a condition. (Defined by Enumerable).
Public extension method LongCount<TSource>() Returns an Int64 that represents the total number of elements in a sequence. (Defined by Enumerable).
Public extension method Max<TSource>(Func<TSource, Int32>) Invokes a transform function on each element of a sequence and returns the maximum Int32 value. (Defined by Enumerable).
Public extension method Max<TSource>() Returns the maximum value in a generic sequence. (Defined by Enumerable).
Public extension method Max<TSource>(Func<TSource, Decimal>) Invokes a transform function on each element of a sequence and returns the maximum Decimal value. (Defined by Enumerable).
Public extension method Max<TSource>(Func<TSource, Nullable<Decimal>>) Invokes a transform function on each element of a sequence and returns the maximum nullable Decimal value. (Defined by Enumerable).
Public extension method Max<TSource, TResult>(Func<TSource, TResult>) Invokes a transform function on each element of a generic sequence and returns the maximum resulting value. (Defined by Enumerable).
Public extension method Max<TSource>(Func<TSource, Nullable<Int32>>) Invokes a transform function on each element of a sequence and returns the maximum nullable Int32 value. (Defined by Enumerable).
Public extension method Max<TSource>(Func<TSource, Int64>) Invokes a transform function on each element of a sequence and returns the maximum Int64 value. (Defined by Enumerable).
Public extension method Max<TSource>(Func<TSource, Nullable<Int64>>) Invokes a transform function on each element of a sequence and returns the maximum nullable Int64 value. (Defined by Enumerable).
Public extension method Max<TSource>(Func<TSource, Single>) Invokes a transform function on each element of a sequence and returns the maximum Single value. (Defined by Enumerable).
Public extension method Max<TSource>(Func<TSource, Double>) Invokes a transform function on each element of a sequence and returns the maximum Double value. (Defined by Enumerable).
Public extension method Max<TSource>(Func<TSource, Nullable<Single>>) Invokes a transform function on each element of a sequence and returns the maximum nullable Single value. (Defined by Enumerable).
Public extension method Max<TSource>(Func<TSource, Nullable<Double>>) Invokes a transform function on each element of a sequence and returns the maximum nullable Double value. (Defined by Enumerable).
Public extension method Min<TSource>(Func<TSource, Nullable<Int32>>) Invokes a transform function on each element of a sequence and returns the minimum nullable Int32 value. (Defined by Enumerable).
Public extension method Min<TSource, TResult>(Func<TSource, TResult>) Invokes a transform function on each element of a generic sequence and returns the minimum resulting value. (Defined by Enumerable).
Public extension method Min<TSource>(Func<TSource, Nullable<Decimal>>) Invokes a transform function on each element of a sequence and returns the minimum nullable Decimal value. (Defined by Enumerable).
Public extension method Min<TSource>(Func<TSource, Decimal>) Invokes a transform function on each element of a sequence and returns the minimum Decimal value. (Defined by Enumerable).
Public extension method Min<TSource>(Func<TSource, Nullable<Double>>) Invokes a transform function on each element of a sequence and returns the minimum nullable Double value. (Defined by Enumerable).
Public extension method Min<TSource>(Func<TSource, Double>) Invokes a transform function on each element of a sequence and returns the minimum Double value. (Defined by Enumerable).
Public extension method Min<TSource>(Func<TSource, Nullable<Single>>) Invokes a transform function on each element of a sequence and returns the minimum nullable Single value. (Defined by Enumerable).
Public extension method Min<TSource>(Func<TSource, Single>) Invokes a transform function on each element of a sequence and returns the minimum Single value. (Defined by Enumerable).
Public extension method Min<TSource>(Func<TSource, Int64>) Invokes a transform function on each element of a sequence and returns the minimum Int64 value. (Defined by Enumerable).
Public extension method Min<TSource>(Func<TSource, Int32>) Invokes a transform function on each element of a sequence and returns the minimum Int32 value. (Defined by Enumerable).
Public extension method Min<TSource>() Returns the minimum value in a generic sequence. (Defined by Enumerable).
Public extension method Min<TSource>(Func<TSource, Nullable<Int64>>) Invokes a transform function on each element of a sequence and returns the minimum nullable Int64 value. (Defined by Enumerable).
Public extension method Nodes<T>() Returns a collection of the child nodes of every document and element in the source collection. (Defined by Extensions).
Public extension method OfType<TResult>() Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable).
Public extension method OrderBy<TSource, TKey>(Func<TSource, TKey>, IComparer<TKey>) Sorts the elements of a sequence in ascending order by using a specified comparer. (Defined by Enumerable).
Public extension method OrderBy<TSource, TKey>(Func<TSource, TKey>) Sorts the elements of a sequence in ascending order according to a key. (Defined by Enumerable).
Public extension method OrderByDescending<TSource, TKey>(Func<TSource, TKey>, IComparer<TKey>) Sorts the elements of a sequence in descending order by using a specified comparer. (Defined by Enumerable).
Public extension method OrderByDescending<TSource, TKey>(Func<TSource, TKey>) Sorts the elements of a sequence in descending order according to a key. (Defined by Enumerable).
Public extension method Prepend<TSource>(TSource) Adds a value to the beginning of the sequence. (Defined by Enumerable).
Public extension method Remove<T>() Removes every node in the source collection from its parent node. (Defined by Extensions).
Public extension method Reverse<TSource>() Inverts the order of the elements in a sequence. (Defined by Enumerable).
Public extension method Select<TSource, TResult>(Func<TSource, Int32, TResult>) Projects each element of a sequence into a new form by incorporating the element's index. (Defined by Enumerable).
Public extension method Select<TSource, TResult>(Func<TSource, TResult>) Projects each element of a sequence into a new form. (Defined by Enumerable).
Public extension method SelectMany<TSource, TCollection, TResult>(Func<TSource, IEnumerable<TCollection>>, Func<TSource, TCollection, TResult>) Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. (Defined by Enumerable).
Public extension method SelectMany<TSource, TCollection, TResult>(Func<TSource, Int32, IEnumerable<TCollection>>, Func<TSource, TCollection, TResult>) Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element. (Defined by Enumerable).
Public extension method SelectMany<TSource, TResult>(Func<TSource, Int32, IEnumerable<TResult>>) Projects each element of a sequence to an IEnumerable<T>, and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element. (Defined by Enumerable).
Public extension method SelectMany<TSource, TResult>(Func<TSource, IEnumerable<TResult>>) Projects each element of a sequence to an IEnumerable<T> and flattens the resulting sequences into one sequence. (Defined by Enumerable).
Public extension method SequenceEqual<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>) Determines whether two sequences are equal by comparing their elements by using a specified IEqualityComparer<T>. (Defined by Enumerable).
Public extension method SequenceEqual<TSource>(IEnumerable<TSource>) Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type. (Defined by Enumerable).
Public extension method Single<TSource>(Func<TSource, Boolean>) Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. (Defined by Enumerable).
Public extension method Single<TSource>() Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. (Defined by Enumerable).
Public extension method SingleOrDefault<TSource>() Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. (Defined by Enumerable).
Public extension method SingleOrDefault<TSource>(Func<TSource, Boolean>) Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. (Defined by Enumerable).
Public extension method Skip<TSource>(Int32) Bypasses a specified number of elements in a sequence and then returns the remaining elements. (Defined by Enumerable).
Public extension method SkipWhile<TSource>(Func<TSource, Boolean>) Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. (Defined by Enumerable).
Public extension method SkipWhile<TSource>(Func<TSource, Int32, Boolean>) Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function. (Defined by Enumerable).
Public extension method Sum<TSource>(Func<TSource, Nullable<Int32>>) Computes the sum of the sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Sum<TSource>(Func<TSource, Nullable<Decimal>>) Computes the sum of the sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Sum<TSource>(Func<TSource, Decimal>) Computes the sum of the sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Sum<TSource>(Func<TSource, Nullable<Double>>) Computes the sum of the sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Sum<TSource>(Func<TSource, Double>) Computes the sum of the sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Sum<TSource>(Func<TSource, Nullable<Single>>) Computes the sum of the sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Sum<TSource>(Func<TSource, Single>) Computes the sum of the sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Sum<TSource>(Func<TSource, Nullable<Int64>>) Computes the sum of the sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Sum<TSource>(Func<TSource, Int64>) Computes the sum of the sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Sum<TSource>(Func<TSource, Int32>) Computes the sum of the sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable).
Public extension method Take<TSource>(Int32) Returns a specified number of contiguous elements from the start of a sequence. (Defined by Enumerable).
Public extension method TakeWhile<TSource>(Func<TSource, Int32, Boolean>) Returns elements from a sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function. (Defined by Enumerable).
Public extension method TakeWhile<TSource>(Func<TSource, Boolean>) Returns elements from a sequence as long as a specified condition is true. (Defined by Enumerable).
Public extension method ToArray<TSource>() Creates an array from a IEnumerable<T>. (Defined by Enumerable).
Public extension method ToDictionary<TSource, TKey, TElement>(Func<TSource, TKey>, Func<TSource, TElement>, IEqualityComparer<TKey>) Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function, a comparer, and an element selector function. (Defined by Enumerable).
Public extension method ToDictionary<TSource, TKey, TElement>(Func<TSource, TKey>, Func<TSource, TElement>) Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to specified key selector and element selector functions. (Defined by Enumerable).
Public extension method ToDictionary<TSource, TKey>(Func<TSource, TKey>) Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function. (Defined by Enumerable).
Public extension method ToDictionary<TSource, TKey>(Func<TSource, TKey>, IEqualityComparer<TKey>) Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function and key comparer. (Defined by Enumerable).
Public extension method ToHashSet<TSource>(IEqualityComparer<TSource>) (Defined by Enumerable).
Public extension method ToHashSet<TSource>() (Defined by Enumerable).
Public extension method ToList<TSource>() Creates a List<T> from an IEnumerable<T>. (Defined by Enumerable).
Public extension method ToLookup<TSource, TKey, TElement>(Func<TSource, TKey>, Func<TSource, TElement>, IEqualityComparer<TKey>) Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function, a comparer and an element selector function. (Defined by Enumerable).
Public extension method ToLookup<TSource, TKey>(Func<TSource, TKey>) Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function. (Defined by Enumerable).
Public extension method ToLookup<TSource, TKey>(Func<TSource, TKey>, IEqualityComparer<TKey>) Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function and key comparer. (Defined by Enumerable).
Public extension method ToLookup<TSource, TKey, TElement>(Func<TSource, TKey>, Func<TSource, TElement>) Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to specified key selector and element selector functions. (Defined by Enumerable).
Public extension method Union<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>) Produces the set union of two sequences by using a specified IEqualityComparer<T>. (Defined by Enumerable).
Public extension method Union<TSource>(IEnumerable<TSource>) Produces the set union of two sequences by using the default equality comparer. (Defined by Enumerable).
Public extension method Where<TSource>(Func<TSource, Int32, Boolean>) Filters a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function. (Defined by Enumerable).
Public extension method Where<TSource>(Func<TSource, Boolean>) Filters a sequence of values based on a predicate. (Defined by Enumerable).
Public extension method Zip<TFirst, TSecond, TResult>(IEnumerable<TSecond>, Func<TFirst, TSecond, TResult>) Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results. (Defined by Enumerable).
Top
Fields
 
Name Description
Internal protected (Protected Friend) field EyeshotKeyedCollection.Environment The related Environment (inherited from EyeshotKeyedCollection<T>).
Top
Remarks
 
Layer name comparison is performed case insensitive.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition