FastDictionaryTKey, TValue Methods |
The FastDictionaryTKey, TValue generic type exposes the following members.
Name | Description | |
---|---|---|
Add(KeyValuePairTKey, TValue) |
Adds the specified key and value to the dictionary.
| |
Add(TKey, TValue) |
Adds the specified key and value to the dictionary.
| |
Clear |
Removes all keys and values from the FastDictionaryTKey, TValue.
| |
Contains |
Determines whether the FastDictionaryTKey, TValue contains the specified key.
| |
ContainsKey |
Determines whether the FastDictionaryTKey, TValue contains the specified key.
| |
CopyTo |
Copies the elements of the FastDictionaryTKey, TValue to an Array, starting at a particular Array index.
| |
GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
Remove(KeyValuePairTKey, TValue) |
Removes the value with the specified key from the FastDictionaryTKey, TValue.
| |
Remove(TKey) |
Removes the value with the specified key from the FastDictionaryTKey, TValue.
| |
TryGetValue |
Gets the value associated with the specified key.
|
Name | Description | |
---|---|---|
AppendKeyValuePairTKey, TValue(KeyValuePairTKey, TValue) | Overloaded.
Concatenates an item into a sequences.
(Defined by Extensions.) | |
AppendTValue(TValue) | Overloaded. (Defined by Extensions.) | |
As(Type) | Overloaded.
Converts a type using the implicit or explicit operators. If both fails it will try to
convert the value with ChangeType(Object, Type).
(Defined by ExtensionsConvertions.) | |
As(Type, Type) | Overloaded.
Converts a type using the implicit or explicit operators. If both fails it will try to
convert the value with ChangeType(Object, Type).
(Defined by ExtensionsConvertions.) | |
AsT | Overloaded.
Performs a cast between compatible reference types. If a convertion is not possible then
null is returned. As a last resort it will use ChangeType(Object, Type).
Tries to use the implicit and explicit operators if exists when convertion with 'as'
returns null.
(Defined by ExtensionsConvertions.) | |
CreateTypeT |
Creates a new Type that implements the properties of an interface defined by T
and copies all value of anon to the new object.
(Defined by ExtensionsInterception.) | |
DistinctKeyValuePairTKey, TValue(FuncKeyValuePairTKey, TValue, KeyValuePairTKey, TValue, Boolean) | Overloaded.
Returns distinct elements from a sequence by using a selector to compare values.
(Defined by Extensions.) | |
DistinctTValue(FuncTValue, TValue, Boolean) | Overloaded. (Defined by Extensions.) | |
ForeachKeyValuePairTKey, TValue(ActionKeyValuePairTKey, TValue) | Overloaded.
Performs the specified action on each element of the IEnumerableT (Defined by Extensions.) | |
ForeachTValue(ActionTValue) | Overloaded. (Defined by Extensions.) | |
GetPropertyNonPublicValueT |
Searches for the specified property, using the specified binding constraints and returns
its value.
Default BindingFlags are Instance and NonPublic (Defined by ExtensionsReflection.) | |
GetPropertyValue(String, BindingFlags) | Overloaded.
Searches for the specified property, using the specified binding constraints and returns
its value.
(Defined by ExtensionsReflection.) | |
GetPropertyValueT(String) | Overloaded.
Searches for the specified property, using the specified binding constraints and returns
its value.
Default BindingFlags are Instance and Public (Defined by ExtensionsReflection.) | |
GetPropertyValueT(String, BindingFlags) | Overloaded.
Searches for the specified property, using the specified binding constraints and returns
its value.
(Defined by ExtensionsReflection.) | |
InterleaveKeyValuePairTKey, TValue(IEnumerableKeyValuePairTKey, TValue) | Overloaded.
Interleve combine two collections.
(Defined by Extensions.) | |
InterleaveTValue(IEnumerableTValue) | Overloaded. (Defined by Extensions.) | |
JoinKeyValuePairTKey, TValue(String) | Overloaded.
Concatenates the members of a collection, using the specified separator between each member.
(Defined by Extensions.) | |
JoinTValue(String) | Overloaded. (Defined by Extensions.) | |
MapToT |
Maps all properties and fields of an instance to another instance. The Clone() method is used to copy an instance if exist.
Mapping fails on jagged and multidimensional array. Classes without parameterless constructor will stay null.
(Defined by ExtensionsCloning.) | |
MaxByKeyValuePairTKey, TValue, TKey(FuncKeyValuePairTKey, TValue, TKey) | Overloaded.
Returns the item with the maximum value in a sequence of values.
(Defined by Extensions.) | |
MaxByTValue, TKey(FuncTValue, TKey) | Overloaded. (Defined by Extensions.) | |
MaxByKeyValuePairTKey, TValue, TKey(FuncKeyValuePairTKey, TValue, TKey, IComparerTKey) | Overloaded.
Returns the item with the maximum value in a sequence of values.
(Defined by Extensions.) | |
MaxByTValue, TKey(FuncTValue, TKey, IComparerTKey) | Overloaded. (Defined by Extensions.) | |
MinByKeyValuePairTKey, TValue, TKey(FuncKeyValuePairTKey, TValue, TKey) | Overloaded.
Returns the item with the minimum value in a sequence of values.
(Defined by Extensions.) | |
MinByTValue, TKey(FuncTValue, TKey) | Overloaded. (Defined by Extensions.) | |
MinByKeyValuePairTKey, TValue, TKey(FuncKeyValuePairTKey, TValue, TKey, IComparerTKey) | Overloaded.
Returns the item with the minimum value in a sequence of values.
(Defined by Extensions.) | |
MinByTValue, TKey(FuncTValue, TKey, IComparerTKey) | Overloaded. (Defined by Extensions.) | |
Operations |
Provides linq like methods for handling and converting IEnumerables.
This is separated from actual extension to avoid confusions with System.Linq extensions. And
also to avoid accidental usage.
(Defined by Extensions.) | |
ToArray |
Converts a IEnumerable to an array
(Defined by ExtensionsConvertions.) | |
ToLong | (Defined by ExtensionsConvertions.) | |
ToStringEx(String) | Overloaded.
Converts the value of this instance to its equivalent string representation, using the
specified format.
The following custom formatter are already added: ByteSizeFormatter, MetricUnitFormatter (Defined by Extensions.) | |
ToStringEx(String, CultureInfo) | Overloaded.
Converts the value of this instance to its equivalent string representation, using the
specified format.
The following custom formatter are already added: ByteSizeFormatter, MetricUnitFormatter (Defined by Extensions.) | |
TryDispose |
Tries to performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources.
This will dispose an object if it implements the IDisposable interface.
(Defined by Extensions.) |
Name | Description | |
---|---|---|
IEnumerableTValueGetEnumerator |
Returns an enumerator that iterates through the collection.
| |
IEnumerableGetEnumerator |
Returns an enumerator that iterates through the collection.
|