Exemplo n.º 1
0
        private EngineConfiguration CreateEngineConfiguration()
        {
            var ecb = new EngineConfigurationBuilder(new NullLogger <EngineConfigurationBuilder>());
            var ec  = ecb.CreateEmptyConfig();

            return(ec);
        }
Exemplo n.º 2
0
        private IOptions <EngineConfiguration> CreateEngineConfiguration()
        {
            var ecb  = new EngineConfigurationBuilder(new NullLogger <EngineConfigurationBuilder>());
            var ec   = ecb.CreateEmptyConfig();
            var opts = Microsoft.Extensions.Options.Options.Create(ec);

            return(opts);
        }