Example #1
0
 protected virtual object ExecuteCommand(RestCommand cmd, RestVerbs verbs, NameValueCollection parms)
 {
     var e = new RestEventArgs { Command = cmd, Verbs = verbs, Parameters = parms };
     cmd.Callback(this, e);
     return e.Result;
 }
Example #2
0
 public void Register(RestCommand com)
 {
     AddCommand(com);
 }
Example #3
0
 protected void AddCommand(RestCommand com)
 {
     commands.Add(com);
 }