Esempio n. 1
0
        public Arkade()
        {
            var builder = new ContainerBuilder();

            builder.RegisterModule(new ArkadeAutofacModule());
            _container = builder.Build();

            _container.BeginLifetimeScope();
            _arkadeApi = _container.Resolve <ArkadeApi>();
        }