Make ExportPath non-nullable in ConfigDto
Changed ExportPath from a nullable string to a non-nullable string in ConfigDto and initialized it with the null-forgiving operator. This ensures ExportPath always has a value and cannot be null.
This commit is contained in:
@@ -31,7 +31,7 @@ public class ConfigDto
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the path where exports will be saved.
|
/// Gets or sets the path where exports will be saved.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string? ExportPath { get; set; }
|
public string ExportPath { get; set; } = null!;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the creation timestamp.
|
/// Gets or sets the creation timestamp.
|
||||||
|
|||||||
Reference in New Issue
Block a user