protected async override void OnExecute(object parameter) { if (parameter is ILockableDescriptor descriptor) { await LockableDescriptorUtility.UnlockAsync(this.authenticator, descriptor); } }
public async Task UnlockAsync() { await LockableDescriptorUtility.UnlockAsync(this.authentication, this); }