This class contains the options used for the dialog.
        public WindowsCredentialsChooserViewModel(
            Instance instance,
            WindowsCredentialsChooserWindow.Options options,
            WindowsCredentialsChooserWindow owner)
        {
            _instance = instance;
            _options  = options;
            _owner    = owner;

            ActionCommand            = new ProtectedCommand(OnActionCommand, canExecuteCommand: false);
            ManageCredentialsCommand = new ProtectedCommand(OnManageCredentialsCommand);

            LoadCredentials();
        }
        public WindowsCredentialsChooserViewModel(
            Instance instance,
            WindowsCredentialsChooserWindow.Options options,
            WindowsCredentialsChooserWindow owner)
        {
            _instance = instance;
            _options = options;
            _owner = owner;

            ActionCommand = new ProtectedCommand(OnActionCommand, canExecuteCommand: false);
            ManageCredentialsCommand = new ProtectedCommand(OnManageCredentialsCommand);

            LoadCredentials();
        }