Show / Hide Table of Contents

Class DictionaryExtensions

Inheritance
object
DictionaryExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke.dll
Syntax
public static class DictionaryExtensions

Methods

GetValue<T>(IDictionary, object, T)

Declaration
public static T GetValue<T>(this IDictionary bag, object key, T defaultValue)
Parameters
Type Name Description
IDictionary bag
object key
T defaultValue
Returns
Type Description
T
Type Parameters
Name Description
T

SetValue<T>(IDictionary, object, T, T)

Declaration
public static void SetValue<T>(this IDictionary bag, object key, T value, T defaultValue)
Parameters
Type Name Description
IDictionary bag
object key
T value
T defaultValue
Type Parameters
Name Description
T
Back to top by the community, for the community... #DNNCMS