NVelocity.Runtime.RuntimeInstance.GetString C# (CSharp) Method

GetString() public method

String property accessor method to hide the configuration implementation
public GetString ( String key ) : String
key String property key
return String
		public String GetString(String key)
		{
			return configuration.GetString(key);
		}

Same methods

RuntimeInstance::GetString ( String key, String defaultValue ) : String

Usage Example

示例#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));
 }
All Usage Examples Of NVelocity.Runtime.RuntimeInstance::GetString