Inheritance: Sep.Git.Tfs.Core.TfsInterop.TfsPlugin
Exemplo n.º 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);
 }
Exemplo n.º 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);
        }