public void AssociateWithReportAsCurrent(IReportDatasourceMetadataWithTraversal definition, XtraReport report) { _currentlySelectedDictionary.AddIfUniqueOrReplace(definition, report.GetHashCode()); }
public DataSourceSelectedForReportMessage(IReportDatasourceMetadataWithTraversal reportDatasourceMetadataWithTraversal, XtraReport report) { ReportDatasourceMetadataWithTraversal = reportDatasourceMetadataWithTraversal; Report = report; }
public void AssociateWithReport(IReportDatasourceMetadataWithTraversal definition, XtraReport report) { var hashset = _allItemsDictionary.GetOrCreateValue(report.GetHashCode(), () => new HashSet<IReportDatasourceMetadataWithTraversal>()); if (!hashset.Contains(definition)) hashset.Add(definition); }