private void AfterDeserialized(StreamingContext context) { if (!serializeTextSurface) { textSurface = new TextSurface(serializedWidth, serializedHeight, Engine.DefaultFont); } base.textSurface = textSurface; _virtualCursor.AttachConsole(this); //_virtualCursor.ResetCursorEffect(); if (_renderer is ITextSurfaceRendererUpdate) { ((ITextSurfaceRendererUpdate)_renderer).Update(textSurface); } }
private void AfterDeserialized(StreamingContext context) { _virtualCursor.AttachConsole(this); }