Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Class DictionaryExtensions

Namespace: Aurigma.DesignAtoms.ExtensionMethods

Assembly: Aurigma.DesignAtoms.dll

Syntax
public static 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

Methods​

GetOrAdd<TKey, TValue>​

public static TValue GetOrAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, Func<TKey, TValue> valueFactory)

Parameters​

TypeNameDescription
System.Collections.Generic.IDictionary<<TKey>,<TValue>>dictionary
<TKey>key
System.Func<<TKey>,<TValue>>valueFactory

Returns​

<TValue>

Was this page helpful?