public override void PostChangeGroupDeltaComputation(AnalysisContext analysisContext, ChangeGroup changeGroup) { // TraceManager.TraceInformation("Entering ChangeGroupLabelAnalysisAddin.PostChangeGroupDeltaComputation"); ILabel changeGroupLabel = GetChangeGroupLabel(analysisContext, changeGroup); GenerateLabelActionsHelper.AddLabelActionsToChangeGroup(changeGroup, changeGroupLabel); // TraceManager.TraceInformation("Leaving ChangeGroupLabelAnalysisAddin.PostChangeGroupDeltaComputation"); }
public override void PostChangeGroupDeltaComputation(AnalysisContext analysisContext, ChangeGroup changeGroup) { // Process ChangeGroup element if it exists in semaphore file string comment = GetChangeGroupComment(analysisContext.TookitServiceContainer, changeGroup); if (!string.IsNullOrEmpty(comment)) { changeGroup.Comment = comment; } foreach (MappingEntry mapping in m_configurationService.Filters) { if (!mapping.Cloak && !string.IsNullOrEmpty(mapping.Path)) { ILabel label = GetSubTreeLabel(analysisContext.TookitServiceContainer, mapping.Path); // Process Label element if it exists in semaphore file if (label != null) { GenerateLabelActionsHelper.AddLabelActionsToChangeGroup(changeGroup, label); } } } }