NVelocity.Runtime.RuntimeSingleton.AddVelocimacro C# (CSharp) Method

AddVelocimacro() public static method

Adds a new Velocimacro. Usually called by Macro only while parsing.
public static AddVelocimacro ( String name, String macro, String argArray, String sourceTemplate ) : bool
name String Name of velocimacro
macro String String form of macro body
argArray String Array of strings, containing the /// #macro() arguments. The 0th is the name. ///
sourceTemplate String Source template
return bool
        public static bool AddVelocimacro(String name, String macro, String[] argArray, String sourceTemplate)
        {
            return ri.AddVelocimacro(name, macro, argArray, sourceTemplate);
        }