Esempio n. 1
0
        public async Task InitAsync()
        {
            foreach (var service in ProxiedServices)
            {
                await service.InitAsync();
            }

            IRuntime runtime = container.Resolve <IRuntime>();
            var      context = runtime.CreateChildConfigurationContext("Commands");
            await configuration.LoadAsync(context, new CommandProviderProxyConfig());
        }
Esempio n. 2
0
        public void Init()
        {
            foreach (var service in ProxiedServices)
            {
                service.Init();
            }

            IRuntime runtime = container.Resolve <IRuntime>();
            var      context = runtime.CreateChildConfigurationContext("Commands");

            configuration.Load(context, new CommandProviderProxyConfig());
        }