public void Test_RuntimeServices() { RuntimeInstance ri = RuntimeSingleton.RuntimeInstance; try { ri.init(); } catch (System.Exception ex) { Console.Out.WriteLine(ex.Message); Assertion.Fail(); } ExtendedProperties ep = ri.Configuration; }
public void Test_RuntimeServices() { RuntimeInstance ri = RuntimeSingleton.RuntimeInstance; try { ri.init(); } catch (Exception ex) { Assertion.Fail(ex.Message); } ExtendedProperties ep = ri.Configuration; }
/// <summary> /// initialize the Velocity runtime engine, using the default /// properties of the Velocity distribution /// </summary> public virtual void Init() { ri.init(); }
/// <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) { ri.init(propsFilename); }