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

GetApplicationAttribute() public method

Return the velocity runtime configuration object.
public GetApplicationAttribute ( Object key ) : Object
key Object
return Object
		public Object GetApplicationAttribute(Object key)
		{
			return applicationAttributes[key];
		}

Usage Example

示例#1
0
 /// <summary>
 /// <seealso cref="IRuntimeServices.GetApplicationAttribute"/>
 /// </summary>
 /// <param name="key">key</param>
 /// <returns>value</returns>
 public static Object GetApplicationAttribute(Object key)
 {
     return(ri.GetApplicationAttribute(key));
 }