private static void Initialize(ConfigurationExpression initializer) { ConfigureLogger(); var tfsPlugin = TfsPlugin.Find(); initializer.Scan(x => { Initialize(x); tfsPlugin.Initialize(x); }); initializer.For<IGitRepository>().Add<GitRepository>(); AddGitChangeTypes(initializer); DoCustomConfiguration(initializer); tfsPlugin.Initialize(initializer); }
private static void Initialize(ConfigurationExpression initializer) { var tfsPlugin = TfsPlugin.Find(); initializer.Scan(x => { Initialize(x); tfsPlugin.Initialize(x); }); initializer.For <TextWriter>().Use(() => Console.Out); initializer.For <IGitRepository>().Add <GitRepository>(); AddGitChangeTypes(initializer); DoCustomConfiguration(initializer); tfsPlugin.Initialize(initializer); }