Пример #1
0
 public static Polyface IsCounter(this Polyface root)
 {
     Condition.Requires(root).IsNotNull();
     var counter = new Counter();
     root.Is(counter);
     return root;
 }
Пример #2
0
 public CountingLogicDecoration(ILogic decorated)
     : base(decorated)
 {
     Counter = new Counter();
 }
Пример #3
0
 public CountingLogicDecoration(ILogic decorated)
     : base(decorated)
 {
     Counter = new Counter();
 }
 public CountingConditionDecoration(ICondition decorated)
     : base(decorated)
 {
     Counter = new Counter();
 }