示例#1
0
        public PasswordGenerationBoxControlVm(IMediator mediator, ISettingsProxy settings, ICredentialsProxy credentials)
        {
            _mediator    = mediator;
            _settings    = settings;
            _credentials = credentials;

            GeneratePasswordCommand = new RelayCommand(async() => await GeneratePassword());
        }
示例#2
0
 public GeneratePasswordCommandHandler(ICredentialsProxy security)
 {
     _security = security;
 }
 public EstimatePasswordComplexityQueryHandler(ICredentialsProxy security)
 {
     _security = security;
 }
 public GenerateKeyFileCommandHandler(ICredentialsProxy security, IFileProxy file, ICryptographyClient cryptography)
 {
     _security     = security;
     _file         = file;
     _cryptography = cryptography;
 }