Пример #1
0
        public static void Write(IConfiguration config)
        {
            ICrypto crypto = new DefaultCrypto();

            ApplicationOptions options = config.GetSection("App")
                                         .Get <ApplicationOptions>();

            ExampleDataWriter writer = new ExampleDataWriter(crypto, options);

            writer.WriteConfigFiles("./AppData");
        }
Пример #2
0
 public DefaultCryptoTests()
 {
     crypto = new DefaultCrypto();
 }