Nullverweise warnings bereinigt

This commit is contained in:
2023-08-08 11:58:09 +02:00
parent 4af2bae8cd
commit ee6eb210b7
22 changed files with 125 additions and 102 deletions

View File

@@ -20,7 +20,7 @@ namespace ConsoleApp3.DataContracts
/// <value></value>
[DataMember(Name = "code", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "code")]
public string Code { get; set; }
public string Code { get; set; } = "";
/// <summary>
///
@@ -28,7 +28,7 @@ namespace ConsoleApp3.DataContracts
/// <value></value>
[DataMember(Name = "name", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
public string Name { get; set; } = "";
/// <summary>
///
@@ -36,7 +36,7 @@ namespace ConsoleApp3.DataContracts
/// <value></value>
[DataMember(Name = "nameEn", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "nameEn")]
public string NameEn { get; set; }
public string NameEn { get; set; } = "";
/// <summary>
///
@@ -44,7 +44,7 @@ namespace ConsoleApp3.DataContracts
/// <value></value>
[DataMember(Name = "translationCode", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "translationCode")]
public string TranslationCode { get; set; }
public string TranslationCode { get; set; } = "";
/// <summary>
///
@@ -52,7 +52,7 @@ namespace ConsoleApp3.DataContracts
/// <value></value>
[DataMember(Name = "locale", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "locale")]
public string Locale { get; set; }
public string Locale { get; set; } = "";
/// <summary>
///