/// <summary>
 /// Gets the CalcAvgNicByCodeByRegion queries.
 /// </summary>
 /// <param name="region">The region.</param>
 /// <param name="bnfCode">The BNF code.</param>
 /// <returns>The CalcAvgNicByCodeByRegion queries</returns>
 public ICalcTotalNicByCodeByRegion GetCalcTotalNicByCodeByRegion(Region region, string bnfCode)
 {
     var key = new Tuple<Region, string>(region, bnfCode);
     return calcTotalNicByCodeByRegion[key];
 }
示例#2
0
 public bool Equals(Region obj)
 {
     return this.name == obj.name && this.value == obj.value;
 }
 /// <summary>
 /// Gets the CalcAvgCostByCodeByRegion query.
 /// </summary>
 /// <param name="region">The region.</param>
 /// <param name="bnfCode">The BNF code.</param>
 /// <returns>The CalcAvgCostByCodeByRegion query</returns>
 public ICalcAvgCostByCodeByRegion GetCalcAvgCostByCodeByRegion(Region region, string bnfCode)
 {
     var key = new Tuple<Region, string>(region, bnfCode);
     return calcAvgCostByCodeByRegions[key];
 }