public static Polyface IsCounter(this Polyface root) { Condition.Requires(root).IsNotNull(); var counter = new Counter(); root.Is(counter); return root; }
public CountingLogicDecoration(ILogic decorated) : base(decorated) { Counter = new Counter(); }
public CountingConditionDecoration(ICondition decorated) : base(decorated) { Counter = new Counter(); }