Class DictionaryExtensions
Inheritance
System.Object
DictionaryExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:System.Collections.Generic
Assembly:cs.temp.dll.dll
Syntax
public static class DictionaryExtensions
Methods
AddIfNotNanOrInfinity(IDictionary<String, Object>, String, Double)
Declaration
public static void AddIfNotNanOrInfinity(this IDictionary<string, object> values, string key, double value)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | values | |
System.String | key | |
System.Double | value |
AddIfPresent(IDictionary<String, Object>, String, String)
Declaration
public static void AddIfPresent(this IDictionary<string, object> values, string key, string value)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | values | |
System.String | key | |
System.String | value |
MergeDifference<TKey, TValue>(IDictionary<TKey, TValue>, IDictionary<TKey, TValue>)
Declaration
public static IDictionary<TKey, TValue> MergeDifference<TKey, TValue>(this IDictionary<TKey, TValue> first, IDictionary<TKey, TValue> second)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<TKey, TValue> | first | |
System.Collections.Generic.IDictionary<TKey, TValue> | second |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<TKey, TValue> |
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |