/// <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)); }
/// <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);