public DeepActionExecutionBenchmark() { _ints = Enumerable.Range(0, 10).ToArray(); _actor = new Actor("John"); _actorReporting = new Actor("Bob").WithReporting(new Tranquire.Reporting.XmlDocumentObserver()); _deepAction = new DeepAction(1, _ints); }
public DeepAction(int depth, int[] ints) { _depth = depth; _ints = ints; _next = depth < MaxDepth ? new DeepAction(depth + 1, ints) : null; }