Пример #1
0
 /// <summary>
 /// Returns the value for the given configuration key.
 /// </summary>
 /// <typeparam name="T">The type of the return value.</typeparam>
 /// <param name="key">The configuration key.</param>
 /// <returns>
 /// The desired value.
 /// </returns>
 public T Value <T>(ConfigurationKeyBase key)
 {
     return(default(T));
 }
Пример #2
0
 /// <summary>
 /// Returns a value indicating if there is a value for the given key or not.
 /// </summary>
 /// <param name="key">The configuration key.</param>
 /// <returns>
 /// <see langword="true" /> if there is a value for the given key; otherwise, <see langword="false"/>.
 /// </returns>
 public bool HasValueFor(ConfigurationKeyBase key)
 {
     return(false);
 }