Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/06/12 19:06:17 (13 years ago)
Author:
ascheibe
Message:

#1174 added support for PercentValue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/QueryService.cs

    r7385 r7573  
    8787            name
    8888          ));
     89        foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Parameter) && (x.Type == ValueNameType.Percent)).Select(x => x.Name).Distinct())
     90          filters.Add(new NameOrdinalComparisonPercentFilter(
     91            typeof(PercentValueFilter).AssemblyQualifiedName,
     92            "Parameter " + name + " Value",
     93            name
     94          ));
    8995        foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Parameter) && (x.Type == ValueNameType.String)).Select(x => x.Name).Distinct())
    9096          filters.Add(new NameStringComparisonFilter(
     
    144150            name
    145151          ));
     152        foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Result) && (x.Type == ValueNameType.Percent)).Select(x => x.Name).Distinct())
     153          filters.Add(new NameOrdinalComparisonPercentFilter(
     154            typeof(PercentValueFilter).AssemblyQualifiedName,
     155            "Result " + name + " Value",
     156            name
     157          ));
    146158        foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Result) && (x.Type == ValueNameType.String)).Select(x => x.Name).Distinct())
    147159          filters.Add(new NameStringComparisonFilter(
Note: See TracChangeset for help on using the changeset viewer.