コード例 #1
0
ファイル: ConditionTrigger.cs プロジェクト: yeungxh/TestApi
 public TriggerOnNthCallBy(int nth, String aTargetCaller)
 {
     calledTimes = 0;
     n           = nth;
     if (nth <= 0)
     {
         throw new ArgumentException("The first parameter of TriggerOnNthCallBy(int, string) should be a postive number");
     }
     targetCaller = SignatureHelper.ConvertSignature(aTargetCaller);
 }
コード例 #2
0
ファイル: ConditionTrigger.cs プロジェクト: yeungxh/TestApi
 public TriggerIfStackContains(String aTargetFunction)
 {
     targetFunction = SignatureHelper.ConvertSignature(aTargetFunction);
 }
コード例 #3
0
ファイル: ConditionTrigger.cs プロジェクト: yeungxh/TestApi
 public TriggerIfCalledBy(String aTargetCaller)
 {
     targetCaller = SignatureHelper.ConvertSignature(aTargetCaller);
 }