EntityList Class

Entity collection.
Public Class EntityList 
Inherits EyeshotDisposableCollection(Of Entity
Implements ISelectable
This language is not supported or no code example is available.
public class EntityList : EyeshotDisposableCollection<Entity>, 
ISelectable
This language is not supported or no code example is available.
Name Description
Public constructor EntityList() Special constructor, can be used when annotation entities (Text, Dimension, etc.) are not involved.
Top
Name Description
Public property BoxMax Gets the maximum 3D extent of the model.
Public property BoxMin Gets the minimum 3D extent of the model.
Public property BoxSize Gets the 3D extent of the model.
Public property Capacity (inherited from EyeshotCollection<T>).
Public property Count Gets the number of items actually contained in the collection. (inherited from EyeshotCollection<T>).
Public property CurrentBlockReference Gets the current BlockReference.
Public property CurrentBlockReferences Obsolete. Gets the stack of current BlockReferences.
Public property CurrentTransformation Gets the accumulated CurrentBlockReference transformation (including its parents transformations).
Public property FastZPR Obsolete. Returns true when the FastZPR is active. When FastZPR is active a simplified representation of the current geometry is drawn during dynamic movements (Zoom/Pan/Rotate).
Public property FrontFacingOnly Accurate transparency. If true, skips back facing semi-tranparent triangles drawing, increasing the FPS rate.
Public property IsOpenCurrentBlockReference Tells if the current BlockReference is open.
Public property IsReadOnly Gets a value indicating whether the collection is read-only. (inherited from EyeshotCollection<T>).
Public property Item(int) Gets or sets the item at the specified index. (inherited from EyeshotDisposableCollection<T>).
Public property MaxCandidates Accurate transparency. This parameter affects transparency pre-processing and redrawing speed. Valid values are between 1 and the total number of semi-transparent triangles. The lower is this value the lower will be the time need for pre-processing, penalizing redrawing speed. Higher values normally improve the FPS rate.
Public property MaxComplexity Obsolete.
Public property Parents Gets the stack of the parents of the current BlockReference.
Top
Methods
 
Name Description
Public method Add(Entity, int) Obsolete. Adds one Entity at the end of this collection using the specified layer.
Public method Add(Entity, int, Color) Obsolete. Adds one Entity at the end of this collection using the specified layer and color.
Public method Add(Entity) Adds one Entity at the end of this collection.
Public method Add(T) Adds one item at the end of this collection. (inherited from EyeshotDisposableCollection<T>).
Public method Add(Entity, Color) Adds one Entity at the end of this collection using the specified color.
Public method Add(Entity, string) Adds one Entity at the end of this collection using the specified the layer.
Public method Add(Entity, string, Color) Adds one Entity at the end of this collection using the specified layer and color.
Public method Add(T, RegenOptions) (inherited from EyeshotDisposableCollection<T>).
Public method AddRange(IEnumerable<T>) Adds the items of the specified collection to the end of this collection.
Public method AddRange(IEnumerable<T>, RegenOptions)
Public method AddRange<T>(IEnumerable<T>, int) Obsolete. Adds the entities of the specified collection to the end of this collection using the specified layer.
Public method AddRange<T>(IEnumerable<T>, int, Color) Obsolete. Adds the entities of the specified collection to the end of this collection using the specified layer and color.
Public method AddRange<T>(IEnumerable<T>, Color) Adds the entities of the specified collection to the end of this collection using the specified layer.
Public method AddRange<T>(IEnumerable<T>, string) Adds the entities of the specified collection to the end of this collection using the specified layer.
Public method AddRange<T>(IEnumerable<T>, string, Color) Adds the entities of the specified collection to the end of this collection using the specified layer.
Public method Static AdjustBlockReferenceBlockNames(Dictionary<StringString>, IList<Entity>) Updates the BlockReferences block names according to the specified mapping.
Public method Clear() Removes all items from the collection.
Public method ClearSelection() Clears selection.
Public method CloseCurrentBlockReference() Stops the showing of the CurrentBlockReference and goes back to the visualization of the whole scene.
Protected method CombineBoundingBox(Entity)
Protected method CombineBoundingBox(IEnumerable<Entity>)
Public method Contains(T) Determines whether an item is in the collection. (inherited from EyeshotCollection<T>).
Public method ConvertToLinearPaths(Text, double) Converts the text outlines to LinearPath.
Public method ConvertToLinearPaths(Text, double, out LinearPath[], out LinearPath[][]) Converts the text outlines to LinearPath, separating outer and inner loops.
Public method CopySelection() Copies selected entities into the clipboard.
Public method CopyTo(T[], int) Copies the entire collection to a compatible one-dimensional array. (inherited from EyeshotCollection<T>).
Public method CutSelection() Cut selected entities into the clipboard.
Protected method DeSerialize(string)
Public method DeleteSelected() Delete selected Entities.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Public method Explode(BlockReference, bool, bool) Returns the block reference individual entity list.
Public method Explode(bool) Recursively explodes all BlockReference objects and clears the collection.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetEnumerator() (inherited from EyeshotCollection<T>).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetStackTransformation(Stack<BlockReference>) Gets the cumulative transformation of a blockreference stack.
Public method GetStats() Get the statistics.
Public method GetStats(BlockKeyedCollection, out int, out int, out int) Get the statistics.
Public method GetStats(BlockKeyedCollection, bool, bool) Get the statistics.
Public method GetStats(bool, bool, bool) Get the statistics.
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method GetVisualRefinementDeviation() Gets the visual refinement deviation value used by the Regen method. It's estimated automatically from the scene extents.
Public method IndexOf(T) (inherited from EyeshotCollection<T>).
Public method Insert(int, Entity)
Public method Insert(int, T) Inserts an item into this collection at the specified index. (inherited from EyeshotDisposableCollection<T>).
Public method Insert(double, double, double, string, double) Insert a block into current 3D scene.
Public method Insert(int, T, RegenOptions) (inherited from EyeshotDisposableCollection<T>).
Public method InsertRange(int, IEnumerable<Entity>)
Public method InsertRange(int, IEnumerable<T>) Inserts the items of a collection into this collection at the specified index. (inherited from EyeshotDisposableCollection<T>).
Public method InsertRange(int, IEnumerable<T>, RegenOptions) (inherited from EyeshotDisposableCollection<T>).
Public method Static Intersection2D(ICurve, ICurve, Plane) Finds all 3D points where the provided coplanar curves intersect.
Public method InvertSelection() Inverts selection.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method OpenCurrentBlockReference() Shows only current BlockReference on screen. The OriginSymbol and Grid are in the BlockReference reference system.
Public method Paste() Pastes copied entities from the clipboard.
Public method ProcessSemiTransparent() Performs semi-transparent entities pre-processing.
Public method Regen(RegenOptions) Regens and compiles only entities that need it. Each entity is automatically regenerated and compiled when added to the Environment.Blocks or Environment.Entities collection. You need to call this function only when you change/transform an entity already in these collections.
Public method RegenAllCurved(RegenOptions) Regens all curved entities (Circle, Arc, Ellipse, EllipticalArc, Curve, Surface) to uniformize the visual refinement.
Public method RegenAllCurved(double, double, RegenOptions) Regens all curved entities (Circle, Arc, Ellipse, EllipticalArc, Curve, Surface) to uniformize the visual refinement.
Public method Remove(Entity) Removes the first occurrence of a specific entity from this collection.
Public method Remove(T) Removes the first occurrence of a specific item from this collection. (inherited from EyeshotDisposableCollection<T>).
Public method RemoveAt(int) Removes the entity at the specified index of this collection.
Public method RemoveRange(int, int) Removes a range of entities from this collection.
Public method Static ReplaceBlockNames(Dictionary<StringString>, IList<Entity>, ref BlockKeyedCollection) Replaces the block names in the BlockReference and Block objects found in the given entities and blocks with the ones specified by the mapping.
Public method Static ReplaceBlockNames<T>(Dictionary<StringString>, IList<Entity>, ref BlockKeyedCollection) Replaces the block names in the BlockReference and Block objects found in the given entities and blocks with the ones specified by the mapping.
Public method Reverse() Reverses the order of the items in the entire collection. (inherited from EyeshotCollection<T>).
Public method Rotate(double, Vector3D, Point3D) Rotates all the entities in this collection around an arbitray axis by the specified angle.
Public method Scale(Point3D, double, double, double) Scales all the entities in this collection of the specified scale factor.
Public method Scale(Point3D, double) Scales all the entities in this collection of the specified scale factor.
Public method Scale(Vector3D) Scales all the entities in this collection of the specified scale factor.
Public method Scale(double) Scales all the entities in this collection of the specified scale factor.
Public method Scale(double, double, double) Scales all the entities in this collection of the specified scale factor.
Public method SelectAll() Selects all selectable and visible entities.
Protected method Serialize(object)
Public method SetCurrent(BlockReference, bool) Sets a BlockReference as current and updates the entity list with its block entities.
Public method SetCurrentStack(Stack<BlockReference>, bool) Sets a sequence of BlockReferences as current.

When a BlockReference is set as current, the following changes happen:

- A Block is added to the ParentBlocks with the entities of the current scene except the BlockReference that is set as current.

- The Environment.Entities collection contains the current Block entities.

- The current BlockReference is pushed on the CurrentBlockReferencesData stack.

- The BoxMin and BoxMax are updated to consider the new entities, without the CurrentTransformation.

Since the collection is modified, this method can't be called in a Foreach loop.

To add or remove entities from a BlockReference set as current, do it on the Environment.Entities and not on the Block.Entities.

Public method SetParentAsCurrent(bool) Sets the parent of the current BlockReference (if it exists) as current.
Public method SetSelectionAsCurrent(bool) Sets the selected BlockReference as current (if there is one).
Public method Sort(IComparer<T>) Sorts the items in the entire collection. (inherited from EyeshotCollection<T>).
Public method SynchronizeAttributes(IList<BlockReference>) Synchronizes AttributeReference entities of the given BlockReference entities with the data of the Attribute entities contained in their referenced blocks.
Public method SynchronizeAttributes(string) Synchronizes AttributeReference entities of the BlockReference referring to the blockName block with the data of its Attribute entities.
Public method ToString() Returns a string that represents the current object. (inherited from EyeshotCollection<T>).
Public method Translate(Vector3D) Translates all the entities in the collection.
Public method Translate(double, double, double) Translates all the entities in this collection.
Public method UpdateBoundingBox() Computes the model bounding box, rebuilds simplified representation and updates some important variables. If the bounding box, grid, or shadow are visible, it updates them too.
Public method WriteCSharp(string) Experimental feature to write curves in C# programming language to a text file.
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 EyeshotDisposableCollection.environment The Environment related to the collection. (inherited from EyeshotDisposableCollection<T>).
Top
Remarks
 
When overriding a method of this class, never forget to call its base class implementation.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition