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

GetVelocimacro() public method

Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.
public GetVelocimacro ( String vmName, String templateName ) : Directive.Directive
vmName String Name of velocimacro requested
templateName String Name of template
return Directive.Directive
		public Directive.Directive GetVelocimacro(String vmName, String templateName)
		{
			return vmFactory.GetVelocimacro(vmName, templateName);
		}

Usage Example

示例#1
0
 /// <summary>
 /// Returns the appropriate VelocimacroProxy object if vmName
 /// is a valid current Velocimacro.
 /// </summary>
 /// <param name="vmName">Name of velocimacro requested</param>
 /// <param name="templateName">Template Name</param>
 /// <returns>VelocimacroProxy</returns>
 public static Directive.Directive GetVelocimacro(String vmName, String templateName)
 {
     return(ri.GetVelocimacro(vmName, templateName));
 }