示例#1
0
 /// <summary>
 /// CTOR that invokes an init(String), initializing
 /// the engine using the properties file specified
 /// </summary>
 /// <exception cref="Exception"></exception>
 /// <param name="propsFilename">name of properties file to init with</param>
 public VelocityEngine(String propsFilename)
 {
     runtimeInstance.Init(propsFilename);
 }
 /// <summary>  CTOR that invokes an Init(String), initializing
 /// the engine using the properties file specified
 ///
 /// </summary>
 /// <param name="propsFilename">name of properties file to Init with
 /// </param>
 /// <throws>  Exception </throws>
 /// <since> 1.5
 /// </since>
 public VelocityEngine(string propsFilename)
 {
     ri.Init(propsFilename);
 }