Пример #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;
 }
Пример #2
0
 private void ApplyResult(TrendsCategoryAbstract category, RemapTrendsResult result)
 {
     _reporter.Report(result.Notifications);
     category.ApplyRemapResult(result);
 }
Пример #3
0
 public void Add(TrendsCategoryAbstract category)
 {
     _categories.Add(category);
 }