Esempio n. 1
0
        public async void NotifyMessage()
        {
            var userContext = this.cremaAppHost.GetService(typeof(IUserContext)) as IUserContext;
            var dialog      = await NotifyMessageViewModel.CreateInstanceAsync(this.authenticator, userContext);

            dialog?.ShowDialog();
        }
        public async Task NotifyMessageAsync()
        {
            var userIDs = this.Users.Select(item => item.ID).ToArray();
            var dialog  = await NotifyMessageViewModel.CreateInstanceAsync(this.authenticator, this.cremaAppHost, userIDs);

            await dialog.ShowDialogAsync();
        }
        public async Task NotifyMessageAsync()
        {
            var userContext = this.cremaAppHost.GetService(typeof(IUserContext)) as IUserContext;
            var dialog      = await NotifyMessageViewModel.CreateInstanceAsync(this.authenticator, userContext);

            if (dialog != null)
            {
                await dialog.ShowDialogAsync();
            }
        }