IsVelocimacro() public method

Tells the world if a given directive string is a Velocimacro
public IsVelocimacro ( String vm, String sourceTemplate ) : bool
vm String
sourceTemplate String
return bool
Example #1
0
 /// <summary>
 /// Checks to see if a VM exists
 /// </summary>
 /// <param name="vmName">Name of velocimacro</param>
 /// <param name="templateName">Name of template</param>
 /// <returns>
 /// True if VM by that name exists, false if not
 /// </returns>
 public bool IsVelocimacro(String vmName, String templateName)
 {
     return(vmFactory.IsVelocimacro(vmName, templateName));
 }