Наследование: Sep.Git.Tfs.Core.TfsInterop.TfsPlugin
Пример #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);
 }
Пример #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);
        }