InspectorListT Class |
Namespace: Gamelogic.Extensions
[SerializableAttribute] [VersionAttribute(2, 5, 0)] public class InspectorList<T> : InspectorList, IList<T>, IEnumerable, ICollection<T>, IEnumerable<T>
The InspectorListT type exposes the following members.
Name | Description | |
---|---|---|
InspectorListT | ||
InspectorListT(IEnumerableT) |
Name | Description | |
---|---|---|
Count | ||
IsReadOnly | ||
Item |
Name | Description | |
---|---|---|
Add | ||
Clear | ||
Contains | ||
CopyTo | ||
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | ||
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IndexOf | ||
Insert | ||
MemberwiseClone | (Inherited from Object.) | |
Remove | ||
RemoveAt | ||
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
AddRangeT |
Add all elements of other to the given source.
(Defined by CollectionExtensions.) | |
BinarySearchT, TElement(TElement, FuncT, TElement) | Overloaded.
Find an element in a collection by binary searching.
This requires the collection to be sorted on the values returned by getSubElement
This will compare some derived property of the elements in the collection, rather than the elements
themselves.
(Defined by CollectionExtensions.) | |
BinarySearchT, TElement(TElement, FuncT, TElement, IComparerTElement) | Overloaded.
Find an element in a collection by binary searching.
This requires the collection to be sorted on the values returned by getSubElement
This will compare some derived property of the elements in the collection, rather than the elements
themselves.
(Defined by CollectionExtensions.) | |
BinarySearchT, TElement(TElement, FuncT, TElement, Int32, Int32) | Overloaded.
Find an element in a collection by binary searching.
This requires the collection to be sorted on the values returned by getSubElement
This will compare some derived property of the elements in the collection, rather than the elements
themselves.
(Defined by CollectionExtensions.) | |
BinarySearchT, TElement(TElement, FuncT, TElement, Int32, Int32, IComparerTElement) | Overloaded.
Find an element in a collection by binary searching.
This requires the collection to be sorted on the values returned by getSubElement
This will compare some derived property of the elements in the collection, rather than the elements
themselves.
(Defined by CollectionExtensions.) | |
ButFirstT |
Returns an enumerable of all elements of the given list but the first,
keeping them in order.
(Defined by CollectionExtensions.) | |
ButLastT |
Returns an enumerable of all elements in the given
list but the last, keeping them in order.
(Defined by CollectionExtensions.) | |
CombinationsT |
Generates all combinations of m elements selected from the list.
(Defined by Combinatorial.) | |
FilterByTypeT, TFilter |
Returns all elements of the source which are of FilterType.
(Defined by CollectionExtensions.) | |
IsEmptyT |
Returns whether this source is empty.
(Defined by CollectionExtensions.) | |
ListToStringT |
Returns a pretty string representation of the given list. The resulting string looks something like
[a, b, c].
(Defined by CollectionExtensions.) | |
MaxByT(FuncT, IComparable) | Overloaded.
Finds the maximum element in the source as scored by the given function.
(Defined by CollectionExtensions.) | |
MaxByT, TKey(FuncT, TKey) | Overloaded.
Finds the minimum element in the source as scored by its projection.
(Defined by CollectionExtensions.) | |
MaxByT, TKey(FuncT, TKey, IComparerTKey) | Overloaded.
Finds the minimum element in the source as scored by the given function applied to a projection on the elements.
(Defined by CollectionExtensions.) | |
MinByT, TKey(FuncT, TKey) | Overloaded.
Finds the minimum element in the source as scored by its projection.
(Defined by CollectionExtensions.) | |
MinByT, TKey(FuncT, TKey, IComparerTKey) | Overloaded.
Finds the minimum element in the source as scored by the given function applied to a projection on the elements.
(Defined by CollectionExtensions.) | |
PartitionsT |
Returns a list of all the partitions of a list.
(Defined by Combinatorial.) | |
PermutationsT |
Generates all permutations of the list of elements.
(Defined by Combinatorial.) | |
PowerSetT |
Returns the power set of the input, that is, the set of all subsets of the input.
(Defined by Combinatorial.) | |
RandomItemT | Overloaded.
Returns a random element from a source.
(Defined by CollectionExtensions.) | |
RandomItemT(IRandom) | Overloaded.
Returns a random element from a source.
(Defined by CollectionExtensions.) | |
RotateLeftT |
Returns a enumerable with elements in order, but the first element is moved to the end.
(Defined by CollectionExtensions.) | |
RotateRightT |
Returns a enumerable with elements in order, but the last element is moved to the front.
(Defined by CollectionExtensions.) | |
SampleRandomT(Int32) | Overloaded.
Returns a random sample from a source.
(Defined by CollectionExtensions.) | |
SampleRandomT(Int32, IRandom) | Overloaded.
Returns a random sample from a source.
(Defined by CollectionExtensions.) | |
ShuffleT | Overloaded.
Shuffles a list.
(Defined by CollectionExtensions.) | |
ShuffleT(IRandom) | Overloaded.
Shuffles a list.
(Defined by CollectionExtensions.) | |
TakeHalfT |
Returns the first half of elements from a source.
(Defined by CollectionExtensions.) | |
TakeLastT |
Returns the last n elements from a source.
(Defined by CollectionExtensions.) | |
ThrowIfNull |
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.) | |
ToPeriodicGeneratorT | (Defined by GeneratorExtensions.) | |
ToRandomElementGeneratorT | (Defined by GeneratorExtensions.) | |
TuplesT | (Defined by Combinatorial.) |
Name | Description | |
---|---|---|
IEnumerableGetEnumerator |