本文整理汇总了C#中XtraReport.GetHashCode方法的典型用法代码示例。如果您正苦于以下问题:C# XtraReport.GetHashCode方法的具体用法?C# XtraReport.GetHashCode怎么用?C# XtraReport.GetHashCode使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类XtraReport
的用法示例。
在下文中一共展示了XtraReport.GetHashCode方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AssociateWithReportAsCurrent
public void AssociateWithReportAsCurrent(IReportDatasourceMetadataWithTraversal definition, XtraReport report)
{
_currentlySelectedDictionary.AddIfUniqueOrReplace(definition, report.GetHashCode());
}
开发者ID:GeniusCode,项目名称:GeniusCode.XtraReports.Designer,代码行数:4,代码来源:DesignReportMetadataAssociationRepository.cs
示例2: GetCurrentAssociationForReport
public IReportDatasourceMetadataWithTraversal GetCurrentAssociationForReport(XtraReport report)
{
IReportDatasourceMetadataWithTraversal output;
_currentlySelectedDictionary.TryGetValue(report.GetHashCode(), out output);
return output;
}
开发者ID:GeniusCode,项目名称:GeniusCode.XtraReports.Designer,代码行数:6,代码来源:DesignReportMetadataAssociationRepository.cs
示例3: GetAssociationsForReport
public IEnumerable<IReportDatasourceMetadataWithTraversal> GetAssociationsForReport(XtraReport report)
{
return _allItemsDictionary.GetOrCreateValue(report.GetHashCode(),
() => new HashSet<IReportDatasourceMetadataWithTraversal>());
}
开发者ID:GeniusCode,项目名称:GeniusCode.XtraReports.Designer,代码行数:5,代码来源:DesignReportMetadataAssociationRepository.cs
示例4: AssociateWithReport
public void AssociateWithReport(IReportDatasourceMetadataWithTraversal definition, XtraReport report)
{
var hashset = _allItemsDictionary.GetOrCreateValue(report.GetHashCode(),
() => new HashSet<IReportDatasourceMetadataWithTraversal>());
if (!hashset.Contains(definition))
hashset.Add(definition);
}
开发者ID:GeniusCode,项目名称:GeniusCode.XtraReports.Designer,代码行数:7,代码来源:DesignReportMetadataAssociationRepository.cs