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

GetInt() public method

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

Same methods

RuntimeInstance::GetInt ( String key, int defaultValue ) : int

Usage Example

示例#1
0
 /// <summary>
 /// Int property accessor method to hide the configuration implementation.
 /// </summary>
 /// <param name="key">property key</param>
 /// <returns>value</returns>
 public static int GetInt(String key)
 {
     return(ri.GetInt(key));
 }