Esempio n. 1
0
        public void RegisterDependencies(IDependencyRegistry dependencyRegistry)
        {
            var configuration = new Configuration();
            dependencyRegistry.RegisterCreator<IConfiguration>(() => configuration);

            dependencyRegistry.RegisterBinding<IHttpRequestExecutor, HttpRequestExecutor>();
            dependencyRegistry.RegisterBinding<IBuildExecutor, BuildExecutor>();
            dependencyRegistry.RegisterBinding<IMaintenanceTarballCreator, MaintenanceTarballCreator>();
        }