コード例 #1
0
        public static async Task <bool> KickAsync(Authentication authentication, IDomainMemberDescriptor descriptor)
        {
            var dialog = await KickEditorViewModel.CreateInstanceAsync(authentication, descriptor);

            if (dialog != null)
            {
                return(await dialog.ShowDialogAsync() == true);
            }
            return(false);
        }
コード例 #2
0
        public static async Task <bool> KickAsync(Authentication authentication, IDomainUserDescriptor descriptor)
        {
            var dialog = await KickEditorViewModel.CreateInstanceAsync(authentication, descriptor);

            return(dialog?.ShowDialog() == true);
        }