Beispiel #1
0
 protected AjaxHandler(IMkJson json)
 {
     this._methodsLock = new object();
     this._methodsCache = new Dictionary<string, MethodInfo>(31);
     this.InitMethods();
     this._methodCaller = new MethodCaller(this, json);
     this._methodGenerator = new MethodsGenerator(this.GetType(), this.GetMethods());
 }
Beispiel #2
0
 public MethodCaller(AjaxHandler executionContext, IMkJson json)
 {
     this._executionContext = executionContext;
     this._resultsFactory = new ResultsFactory(json);
     this._parametersFactory = new ParametersFactory(json);
 }