コード例 #1
0
ファイル: ApiMethod.cs プロジェクト: jwatte/mono-app-server
 public ApiMethod(string iname, string name, bool needSession, string[] needPermissions, CallFormatter formatter, ApiParameter[] parameters)
 {
     this.iname = iname;
     this.name = name;
     this.needSession = needSession;
     this.needPermissions = needPermissions;
     this.formatter = formatter;
     this.parameters = parameters;
     call_counter = new Counter("api." + iname + "." + name + ".call", "number of calls to method (OK or not)");
     error_counter = new Counter("api." + iname + "." + name + ".error", "number of errors in calls to method");
 }
コード例 #2
0
 public SequenceInOrderAssertion()
 {
     _callFormatter = new CallFormatter();
     _argumentFormatter = new ArgumentFormatter();
 }
コード例 #3
0
 public SequenceInOrderAssertion()
 {
     _callFormatter     = new CallFormatter();
     _argumentFormatter = new ArgumentFormatter();
 }