コード例 #1
0
 /// <summary>  <p>
 /// Return an application attribute (which can be any Object)
 /// that was set by the application in order to be accessible from
 /// any component of the system that gets a RuntimeServices.
 /// This allows communication between the application
 /// environment and custom pluggable components of the
 /// Velocity engine, such as ResourceLoaders and LogChutes.
 /// </p>
 ///
 /// </summary>
 /// <param name="key">object 'name' under which the object is stored
 /// </param>
 /// <returns> value object to store under this key
 /// </returns>
 /// <since> 1.5
 /// </since>
 public virtual object GetApplicationAttribute(object key)
 {
     return(ri.GetApplicationAttribute(key));
 }