Inheritance: Sep.Git.Tfs.Core.TfsInterop.TfsPlugin
Example #1
0
 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);
 }
Example #2
0
        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);
        }