Esempio n. 1
0
 public static KeyValueConfigurationCollection take(this KeyValueConfigurationCollection thisKeyValueConfigurationCollection, String key, out String value, Func <String> defaultValueProvider)
 {
     value = thisKeyValueConfigurationCollection.getValueOrNull(key) ?? defaultValueProvider();
     return(thisKeyValueConfigurationCollection);
 }
Esempio n. 2
0
 public static KeyValueConfigurationCollection take(this KeyValueConfigurationCollection thisKeyValueConfigurationCollection, String key, out String value, String defaultValue)
 {
     value = thisKeyValueConfigurationCollection.getValueOrNull(key) ?? defaultValue;
     return(thisKeyValueConfigurationCollection);
 }