internal Task CreateAsync() =>
 languageServer.SendRequestAsync(
     NewCustomViewRequest.Method,
     new NewCustomViewRequest
 {
     Id       = Id,
     Title    = Title,
     ViewType = ViewType,
 });
예제 #2
0
 internal async Task CreateAsync()
 {
     await languageServer.SendRequestAsync(
         NewCustomViewRequest.Method,
         new NewCustomViewRequest
     {
         Id       = this.Id,
         Title    = this.Title,
         ViewType = this.ViewType,
     }
         );
 }