feat(services): 添加 Excel 模板处理服务 #4
Annotations
20 warnings
|
Services/ExcelTemplateService.cs#L132
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'.
|
|
Services/ExcelTemplateService.cs#L121
Converting null literal or possible null value to non-nullable type.
|
|
Services/ExcelTemplateService.cs#L77
Possible null reference argument for parameter 'input' in 'MatchCollection Regex.Matches(string input)'.
|
|
Services/ExcelTemplateService.cs#L76
Converting null literal or possible null value to non-nullable type.
|
|
Services/ExcelService.cs#L51
Dereference of a possibly null reference.
|
|
Models/DataSource.cs#L9
Non-nullable field '_filePath' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Models/DataSource.cs#L7
Non-nullable field '_displayName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
MainWindow.xaml.cs#L18
Nullability of reference types in type of parameter 'sender' of 'void MainWindow.MainWindow_StateChanged(object sender, EventArgs e)' doesn't match the target delegate 'EventHandler' (possibly because of nullability attributes).
|
|
ViewModels/MainViewModel.cs#L87
Non-nullable field '_currentExcelData' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Services/ExcelTemplateService.cs#L108
Cannot convert null literal to non-nullable reference type.
|
|
Services/ExcelService.cs#L51
Dereference of a possibly null reference.
|
|
Services/ExcelTemplateService.cs#L132
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'.
|
|
Services/ExcelTemplateService.cs#L121
Converting null literal or possible null value to non-nullable type.
|
|
Services/ExcelTemplateService.cs#L77
Possible null reference argument for parameter 'input' in 'MatchCollection Regex.Matches(string input)'.
|
|
Services/ExcelTemplateService.cs#L76
Converting null literal or possible null value to non-nullable type.
|
|
Models/DataSource.cs#L9
Non-nullable field '_filePath' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Models/DataSource.cs#L7
Non-nullable field '_displayName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
MainWindow.xaml.cs#L18
Nullability of reference types in type of parameter 'sender' of 'void MainWindow.MainWindow_StateChanged(object sender, EventArgs e)' doesn't match the target delegate 'EventHandler' (possibly because of nullability attributes).
|
|
ViewModels/MainViewModel.cs#L87
Non-nullable field '_currentExcelData' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Services/ExcelTemplateService.cs#L108
Cannot convert null literal to non-nullable reference type.
|
The logs for this run have expired and are no longer available.
Loading