Beispiel #1
0
 /// <summary>
 /// Context
 /// </summary>
 public TemplateContext(string path, Encoding charset, bool throwErrors /*, string url, string res*/, VariableScope data)
 {
     this.currentPath = path;
     this.charset     = charset;
     this.throwErrors = throwErrors;
     //this.url = url;
     //this.res = res;
     data.SetContext(this);
     this.variableScope = data;
     this.runtimeTag    = null;
 }