public DisplayModeStrategyBase(Property property) { this.property = property; displayColorMappings = new Dictionary<int, SolidColorBrush>(); displayColorMappings.Add(0, Brushes.White); displayColorMappings.Add(1, new SolidColorBrush((Color)ColorConverter.ConvertFromString("#8888F1"))); displayColorMappings.Add(4, new SolidColorBrush((Color)ColorConverter.ConvertFromString("#960003"))); //Red fire displayColorMappings.Add(5, new SolidColorBrush((Color)ColorConverter.ConvertFromString("#2943c6"))); //Blue cold displayColorMappings.Add(6, new SolidColorBrush((Color)ColorConverter.ConvertFromString("#f2bc01"))); //Yellow lightning displayColorMappings.Add(7, new SolidColorBrush((Color)ColorConverter.ConvertFromString("#D02090"))); //Pink chaos }
public NamePlusValueStrategy(Property property) : base(property) { }
public ValuesPlusNameStrategy(Property property) : base(property) { }
public StringFormatStrategy(Property property) : base(property) { }