Exemplo n.º 1
0
 internal ScriptSecurity(IScriptChecker checker)
 {
     ScriptChecker         = checker;
     Config.ScriptCompile += Config_ScriptCompile;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sets custom class for checking the report script.
 /// </summary>
 /// <param name="scriptChecker"></param>
 public static void SetScriptSecurity(IScriptChecker scriptChecker)
 {
     ScriptSecurity.Dispose();
     ScriptSecurity = new ScriptSecurity(scriptChecker);
 }