internal SequenceCounter Clone() { SequenceCounter counter; if (Parent == null) { counter = new SequenceCounter(); } else { counter = new SequenceCounter(Parent.Clone()); } counter.Sequence = Sequence; return(counter); }
internal ParallelSequenceCounter(SequenceCounter parent) : base(parent) { Root = parent.Clone(); Sequence = Parent.Sequence; }