Nullverweise warnings bereinigt
This commit is contained in:
@@ -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>
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user