Esempio n. 1
0
 /// <summary>
 /// A utility function to close the blade, calling <see cref="MBBladeSet.RemoveBladeAsync(string)"/>, passing the blade reference.
 /// </summary>
 public Task CloseBladeAsync()
 {
     IsOpen = false;
     return(BladeSet.RemoveBladeAsync(BladeReference));
 }
Esempio n. 2
0
 /// <summary>
 /// A utility function to close the blade, calling BladeSet.RemoveBladeAsync(), passing the blade reference.
 /// </summary>
 protected async Task CloseBladeAsync() => await BladeSet.RemoveBladeAsync(BladeReference).ConfigureAwait(false);