Beispiel #1
0
        public ResetPasswordViewModel(ResetPasswordWindow owner, Instance instance, string projectId)
        {
            _owner     = owner;
            _instance  = instance;
            _projectId = projectId;

            OkCommand     = new WeakCommand(OnOkCommand);
            CancelCommand = new WeakCommand(OnCancelCommand);
        }
Beispiel #2
0
        public static void PromptUser(Instance instance, string projectId)
        {
            var dialog = new ResetPasswordWindow(instance, projectId);

            dialog.ShowModal();
        }