Exemple #1
0
 internal TrendTag(
     TrendsCategoryAbstract category,
     int id,
     string name,
     Func <string> descriptionGetter,
     Func <string> formatGetter,
     Func <string> engUnitGetter,
     double?minValue,
     double?maxValue)
 {
     _category          = category;
     _id                = id;
     _name              = name;
     _descriptionGetter = descriptionGetter;
     _formatGetter      = formatGetter;
     _engUnitGetter     = engUnitGetter;
     _minValue          = minValue;
     _maxValue          = maxValue;
 }
Exemple #2
0
 internal TrendTag(
     TrendsCategoryAbstract category,
     int id,
     string name,
     Func<string> descriptionGetter,
     Func<string> formatGetter,
     Func<string> engUnitGetter,
     double? minValue,
     double? maxValue)
 {
     _category = category;
     _id = id;
     _name = name;
     _descriptionGetter = descriptionGetter;
     _formatGetter = formatGetter;
     _engUnitGetter = engUnitGetter;
     _minValue = minValue;
     _maxValue = maxValue;
 }
Exemple #3
0
 public void Add(TrendsCategoryAbstract category)
 {
     _categories.Add(category);
 }
Exemple #4
0
 private void ApplyResult(TrendsCategoryAbstract category, RemapTrendsResult result)
 {
     _reporter.Report(result.Notifications);
     category.ApplyRemapResult(result);
 }
Exemple #5
0
 private void ApplyResult(TrendsCategoryAbstract category, RemapTrendsResult result)
 {
     _reporter.Report(result.Notifications);
     category.ApplyRemapResult(result);
 }
Exemple #6
0
 public void Add(TrendsCategoryAbstract category)
 {
     _categories.Add(category);
 }