Example #1
0
        public void RunAsConsole(string[] args)
        {
            Logger.Log.Info("Running in console mode!");
            TFSIntegrationImplementation integrationImplementation = new TFSIntegrationImplementation();

            integrationImplementation.Run();
        }
Example #2
0
 // Specify what you want to happen when the Elapsed event is
 // raised.
 private void OnTimedEvent(object source, ElapsedEventArgs e)
 {
     Logger.Log.Info($"The Elapsed event was raised at {e.SignalTime}. Start branch syncronization!");
     lock (padlock)
     {
         integrationImplementation?.Run(tfsConfiguration);
     }
 }