Nullable refernce types refactoring

This commit is contained in:
Mikhail Shabanov committed 2020-12-27 12:39:25 +01:00
1 parent e5c90e03d3
commit e12734981b
85 files changed
+509 -351

No files matched your search

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using MongoDB.Bson.Serialization.Attributes;
using WotBlitzStatisticsPro.Common.Dictionaries;
@@ -6,9 +7,10 @@ namespace WotBlitzStatisticsPro.DataAccess.Model
{
public class AchievementSectionDictionary: IAchievementSectionDictionary
{
[BsonId]
public string AchievementSectionId { get; set; }
[BsonId] public string AchievementSectionId { get; set; } = string.Empty;
public int Order { get; set; }
public List<LocalizableString> AchievementSectionNames { get; set; }
public List<LocalizableString> AchievementSectionNames { get; set; } =
Enumerable.Empty<LocalizableString>().ToList();
}
}