SIPrefix |
public class SIPrefixList : ISIPrefixList, IEnumerable<SIPrefix>, IEnumerable
The SIPrefixList type exposes the following members.
Name | Description | |
---|---|---|
SIPrefixList | Initializes a new instance of the SIPrefixList class. |
Name | Description | |
---|---|---|
ContainsNonePrefixOnly | Return true if the collection contains exactly one element, which is the prefix None. | |
Count | Gets the number of prefixes in this list. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetEnumerator | Returns an enumerator that iterates through all known prefixes. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetPrefixFromExponent | Gets the prefix from the given exponent. Example: given an exponent of 9, this call will return the Giga with a remaining factor of 1. | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
TryGetPrefixFromShortCut | Try the get a prefix, given its shortcut. Example: given the string 'n', this function will return the prefix Nano. |
Name | Description | |
---|---|---|
FirstOrSIPrefix |
Returns the first value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions) | |
FlattenFromRootToLeavesSIPrefix |
Converts a recursive data structure into a flat list. The root element is enumerated before its corresponding child element(s).
(Defined by EnumerableExtensions) | |
ForEachDoSIPrefix |
Executes an action for each element of the sequence.
(Defined by EnumerableExtensions) | |
HasSingleElementSIPrefix |
Determines whether the specified enumeration has exactly one element.
(Defined by EnumerableExtensions) | |
IndexOfSIPrefix |
Gets the index of an item in a enumeration or list.
(Defined by ListExtensions) | |
IndexOfFirstSIPrefix |
Gets the index the of first item in list that fulfills the predicate predicate (Defined by ListExtensions) | |
IndexOfFirstSIPrefix |
Gets the index the of first item in list that fulfills the predicate predicate (Defined by ListExtensions) | |
IndexOfMaxSIPrefix | Return the index of the element with the maximum value in an enumerable.
If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned. (Defined by EnumerableExtensions) | |
IndexOfMinSIPrefix | Return the index of the element with the minimum value in an enumerable.
If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned. (Defined by EnumerableExtensions) | |
IndicesInt32AndValuesWhereSIPrefix |
Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions) | |
IndicesInt32AndValuesWhereSIPrefix |
Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions) | |
IndicesInt32WhereSIPrefix |
Returns the indices of the elements which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions) | |
IndicesInt32WhereSIPrefix |
Returns the indices of the elements which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions) | |
IndicesOfMinMaxSIPrefix | Return the index of the element with the minimum value in an enumerable.
If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned. (Defined by EnumerableExtensions) | |
IsEmptySIPrefix |
Determines whether the specified enumeration is empty.
(Defined by EnumerableExtensions) | |
JoinConditionalSIPrefix, T2 |
Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions) | |
JoinConditionalSIPrefix, T2, TResult |
Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions) | |
LastOrSIPrefix |
Returns the last value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions) | |
MaxElementSIPrefix, M |
Gets the element of a IEnumerabe that evaluates by means of a conversion function to the maximal value.
This is different from Select(x => conversion(x)).Max() insofar as it not returns the maximum value, but the original element x which converts to the maximum value.
(Defined by EnumerableExtensions) | |
MaxOrDefaultSIPrefix, M |
Evaluates the maximum of a enumeration of elements, or returns a default value if the series is empty.
(Defined by EnumerableExtensions) | |
SelectCombinationSIPrefix |
Select a random combination, without repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics) | |
SelectCombinationWithRepetitionSIPrefix |
Select a random combination, with repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics) | |
SelectPermutationSIPrefix |
Select a random permutation from a data sequence by returning the provided data in random order.
Implemented using Fisher-Yates Shuffling.
(Defined by Combinatorics) | |
SelectVariationSIPrefix |
Select a random variation, without repetition, from a data sequence by randomly selecting k elements in random order.
Implemented using partial Fisher-Yates Shuffling.
(Defined by Combinatorics) | |
SelectVariationWithRepetitionSIPrefix |
Select a random variation, with repetition, from a data sequence by randomly selecting k elements in random order.
(Defined by Combinatorics) | |
TakeAllButLastSIPrefix |
Takes all elements of the enumeration except the last element.
(Defined by EnumerableExtensions) | |
ThisOrEmptySIPrefix |
Returns either the provided enumeration, or if it is null, an empty enumeration.
(Defined by EnumerableExtensions) | |
TryGetFirstAndLastSIPrefix |
Returns true and the first and last value of the enumeration, or, if the enumeration is empty, returns false.
(Defined by EnumerableExtensions) | |
TryGetSingleElementSIPrefix |
Try to get the one and only element of the collection.
(Defined by EnumerableExtensions) |