Example #1
0
 //get => GetValueOrDefault<object>(chatId + key, null);
 set => AddOrUpdateValue(ConvertToKey(chatId, key), value);
Example #2
0
 get => ColorEx.FromHex(GetValueOrDefault(ConvertToKey(type, "Accent"), ColorEx.ToHex(ThemeAccentInfo.Accents[type])));
Example #3
0
 get => ColorEx.FromHex(GetValueOrDefault(ConvertToKey(type, "Accent"), ColorEx.ToHex(ThemeInfoBase.Accents[type][AccentShade.Default])), true);