protected override Task OnStart(bool restarted) { _state = new NotepadState { Document = new List<string>() }; return Task.FromResult(0); }