コード例 #1
0
        public DecryptionUCVM(
            Decryption decryption,
            DropFileUCVM dropStegoContainerFileVM,
            OutputPathUCVM outputPathVM,
            PasswordUCVM passwordVM)
        {
            _decryption = decryption;
            DropStegoContainerFileVM = dropStegoContainerFileVM;
            OutputPathVM             = outputPathVM;
            PasswordVM = passwordVM;

            DecryptCommand = new RelayCommand(Decrypt);
        }
コード例 #2
0
        public EncryptionUCVM(
            Encryption encryption,
            DropFileUCVM dropSecretFileVM,
            DropFileUCVM dropContainerFileVM,
            OutputPathUCVM outputPathVM,
            PasswordUCVM passwordVM)
        {
            _encryption         = encryption;
            DropSecretFileVM    = dropSecretFileVM;
            DropContainerFileVM = dropContainerFileVM;
            OutputPathVM        = outputPathVM;
            PasswordVM          = passwordVM;

            EncryptCommand = new RelayCommand(Encrypt);
        }