Back to Website
Show / Hide Table of Contents

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: Aurigma.DesignAtoms.ExtensionMethods
Assembly: Aurigma.DesignAtoms.dll
Syntax
public static class DictionaryExtensions

Methods

GetOrAdd<TKey, TValue>(IDictionary<TKey, TValue>, TKey, Func<TKey, TValue>)

Declaration
public static TValue GetOrAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, Func<TKey, TValue> valueFactory)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<TKey, TValue> dictionary
TKey key
System.Func<TKey, TValue> valueFactory
Returns
Type Description
TValue
Type Parameters
Name Description
TKey
TValue
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback