public LagStepImpl <TKey, TValue, TCursor> Clone() { var instance = new LagStepImpl <TKey, TValue, TCursor> { _cursor = _cursor.Clone(), _laggedCursor = _laggedCursor.Clone(), _width = _width, _step = _step, _allowIncomplete = _allowIncomplete, _currentWidth = _currentWidth, State = State }; return(instance); }
public LagStepImpl <TKey, TValue, TCursor> Initialize() { var instance = new LagStepImpl <TKey, TValue, TCursor> { _cursor = _cursor.Initialize(), _laggedCursor = _cursor.Initialize(), _width = _width, _step = _step, _allowIncomplete = _allowIncomplete, _currentWidth = 0, State = CursorState.Initialized }; return(instance); }