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(); }