Methods
TryGetValue
(List<SiteSetting>, String, String) Method
TryGetValue (List<SiteSetting> settings, String key, String result)
Gets the specified value or returns an empty string if the key is not present.
Parameters
| Name |
Type |
|
settings
|
System.Collections.Generic.List<Nucleus.Abstractions.Models.SiteSetting>
|
|
key
|
String
|
|
result
|
ref
String
|
TryGetValue
(List<SiteSetting>, String, Guid) Method
TryGetValue (List<SiteSetting> settings, String key, Guid result)
Gets the specified value or returns an empty string if the key is not present.
Parameters
| Name |
Type |
|
settings
|
System.Collections.Generic.List<Nucleus.Abstractions.Models.SiteSetting>
|
|
key
|
String
|
|
result
|
ref
Guid
|
TryGetValue
(List<SiteSetting>, String, Int32) Method
TryGetValue (List<SiteSetting> settings, String key, Int32 result)
Gets the specified value or returns an empty string if the key is not present.
Parameters
| Name |
Type |
|
settings
|
System.Collections.Generic.List<Nucleus.Abstractions.Models.SiteSetting>
|
|
key
|
String
|
|
result
|
ref
Int32
|
TryGetValue
(List<SiteSetting>, String, Boolean) Method
TryGetValue (List<SiteSetting> settings, String key, Boolean result)
Gets the specified value or returns an empty string if the key is not present.
Parameters
| Name |
Type |
|
settings
|
System.Collections.Generic.List<Nucleus.Abstractions.Models.SiteSetting>
|
|
key
|
String
|
|
result
|
ref
Boolean
|
TrySetValue
(List<SiteSetting>, String, String) Method
TrySetValue (List<SiteSetting> settings, String key, String value)
Adds or replaces the value for the specified key.
Parameters
| Name |
Type |
|
settings
|
System.Collections.Generic.List<Nucleus.Abstractions.Models.SiteSetting>
|
|
key
|
String
|
|
value
|
String
|
TrySetValue
(List<SiteSetting>, String, Nullable<Boolean>) Method
TrySetValue (List<SiteSetting> settings, String key, Nullable<Boolean> value)
Adds or replaces the value for the specified key.
Parameters
| Name |
Type |
|
settings
|
System.Collections.Generic.List<Nucleus.Abstractions.Models.SiteSetting>
|
|
key
|
String
|
|
value
|
System.Nullable<System.Boolean>
|
TrySetValue
(List<SiteSetting>, String, Nullable<Int32>) Method
TrySetValue (List<SiteSetting> settings, String key, Nullable<Int32> value)
Adds or replaces the value for the specified key.
Parameters
| Name |
Type |
|
settings
|
System.Collections.Generic.List<Nucleus.Abstractions.Models.SiteSetting>
|
|
key
|
String
|
|
value
|
System.Nullable<System.Int32>
|
TrySetValue
(List<SiteSetting>, String, Int32) Method
TrySetValue (List<SiteSetting> settings, String key, Int32 value)
Adds or replaces the value for the specified key.
Parameters
| Name |
Type |
|
settings
|
System.Collections.Generic.List<Nucleus.Abstractions.Models.SiteSetting>
|
|
key
|
String
|
|
value
|
Int32
|
TrySetValue
(List<SiteSetting>, String, Nullable<Guid>) Method
TrySetValue (List<SiteSetting> settings, String key, Nullable<Guid> value)
Adds or replaces the value for the specified key.
Parameters
| Name |
Type |
|
settings
|
System.Collections.Generic.List<Nucleus.Abstractions.Models.SiteSetting>
|
|
key
|
String
|
|
value
|
System.Nullable<System.Guid>
|
TrySetValue
(List<SiteSetting>, String, Double) Method
TrySetValue (List<SiteSetting> settings, String key, Double value)
Adds or replaces the value for the specified key.
Parameters
| Name |
Type |
|
settings
|
System.Collections.Generic.List<Nucleus.Abstractions.Models.SiteSetting>
|
|
key
|
String
|
|
value
|
Double
|