Class DictionaryExtensions
Inheritance
System.Object
DictionaryExtensions
Assembly: DotNetNuke.dll
Syntax
public static class DictionaryExtensions : object
Methods
|
Improve this Doc
View Source
GetValue<T>(IDictionary, Object, T)
Declaration
public static T GetValue<T>(this IDictionary bag, object key, T defaultValue)
Parameters
Type |
Name |
Description |
IDictionary |
bag |
|
System.Object |
key |
|
T |
defaultValue |
|
Returns
Type Parameters
|
Improve this Doc
View Source
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 |
|
System.Object |
key |
|
T |
value |
|
T |
defaultValue |
|
Type Parameters