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"); }
public DefaultCryptoTests() { crypto = new DefaultCrypto(); }