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

@@ -29,7 +29,7 @@ namespace ConsoleApp3.DataContracts
/// <value>sevClient is the unique id every customer has and is used in nearly all operations</value>
[DataMember(Name = "sevClient", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "sevClient")]
public Object SevClient { get; set; }
public Object? SevClient { get; set; }
/// <summary>
///
@@ -37,7 +37,7 @@ namespace ConsoleApp3.DataContracts
/// <value></value>
[DataMember(Name = "text", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }
public string Text { get; set; } = "";
/// <summary>
///
@@ -61,7 +61,7 @@ namespace ConsoleApp3.DataContracts
/// <value></value>
[DataMember(Name = "displayText", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "displayText")]
public string DisplayText { get; set; }
public string DisplayText { get; set; } = "";
/// <summary>
///
@@ -69,7 +69,7 @@ namespace ConsoleApp3.DataContracts
/// <value></value>
[DataMember(Name = "vatReportFieldNet", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "vatReportFieldNet")]
public string VatReportFieldNet { get; set; }
public string VatReportFieldNet { get; set; } = "";
/// <summary>
///
@@ -77,7 +77,7 @@ namespace ConsoleApp3.DataContracts
/// <value></value>
[DataMember(Name = "vatReportFieldTax", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "vatReportFieldTax")]
public string VatReportFieldTax { get; set; }
public string VatReportFieldTax { get; set; } = "";
/// <summary>
///
@@ -85,7 +85,7 @@ namespace ConsoleApp3.DataContracts
/// <value></value>
[DataMember(Name = "accountingExportVatField", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "accountingExportVatField")]
public string AccountingExportVatField { get; set; }
public string AccountingExportVatField { get; set; } = "";
/// <summary>
///