private TemplateComparisonResultCollection GetSyncResult() { var sw = new Stopwatch(); sw.Start(); TemplateComparisonResultCollection syncResult = ProviderResolver.CreateSyncEngine().AreTemplatesSynchronized(); sw.Stop(); Log.Info("Synthesis Template synchronization check completed in " + sw.ElapsedMilliseconds + " ms", this); return(syncResult); }
private TemplateComparisonResultCollection GetSyncResult(IProviderConfiguration configuration) { var sw = new Stopwatch(); sw.Start(); TemplateComparisonResultCollection syncResult = configuration.CreateSyncEngine().AreTemplatesSynchronized(); sw.Stop(); Log.Info("Synthesis Template synchronization check for {0} completed in {1} ms".FormatWith(configuration.Name, sw.ElapsedMilliseconds), this); return(syncResult); }