예제 #1
0
        /// <summary>
        /// Initializes a new instance of <see cref="SymmetricCoreCryptor"/>.
        /// </summary>
        /// <param name="configuration">
        /// Contains instance of <see cref="SymmetricCoreCryptorConfiguration"/>.
        /// </param>
        public SymmetricCoreCryptor(SymmetricCoreCryptorConfiguration configuration)
        {
            Configuration = configuration;

            OnProgressChanged += delegate { };
            OnComplete        += delegate { };
            OnError           += delegate { };
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of <see cref="AesCoreCryptor"/>.
 /// </summary>
 /// <param name="configuration">
 /// Contains instance of <see cref="SymmetricCoreCryptorConfiguration"/>.
 /// </param>
 public AesCoreCryptor(SymmetricCoreCryptorConfiguration configuration) : base(configuration)
 {
 }