GetString() public method

String property accessor method to hide the configuration implementation
public GetString ( String key ) : String
key String property key
return String
示例#1
0
 /// <summary> String property accessor method with default to hide the
 /// configuration implementation.
 ///
 /// </summary>
 /// <param name="key">property key
 /// </param>
 /// <param name="defaultValue">default value to return if key not
 /// found in resource manager.
 /// </param>
 /// <returns>String  value of key or default
 ///
 /// </returns>
 public static String getString(String key, String defaultValue)
 {
     return(ri.GetString(key, defaultValue));
 }
示例#2
0
 /// <summary> String property accessor method with default to hide the
 /// configuration implementation.
 ///
 /// </summary>
 /// <param name="key">property key
 /// </param>
 /// <param name="defaultValue"> default value to return if key not
 /// found in resource manager.
 /// </param>
 /// <returns> value of key or default
 /// </returns>
 /// <seealso cref="RuntimeInstance.getString(String, String)">
 /// </seealso>
 public static string GetString(string key, string defaultValue)
 {
     return(ri.GetString(key, defaultValue));
 }