Exemplo n.º 1
0
 public void GetData(HelperClass helper)
 {
     Render        = helper.Render;
     Auth          = helper.Auth;
     Request       = helper.Request;
     Responce      = helper.Responce;
     staticPlugins = helper.staticPlugins;
     returnType    = helper.returnType;
     WShelper      = helper.WShelper;
 }
Exemplo n.º 2
0
 public HelperClass(ref HttpListenerContext context, string db, string domain, bool isDebug)
 {
     Render          = new RenderClass();
     dbConnectString = db;
     domainName      = domain;
     staticPlugins   = null;
     Request         = new RequestInfo(context.Request);
     Responce        = new ResponceInfo();
     returnType      = ReturnType.DefaultContent;
     Context         = context;
     this.isDebug    = isDebug;
     WShelper        = new WebSocketHelper();
 }