Skip to content

Commit

Permalink
+ Suppress Warnings in UI Tester
Browse files Browse the repository at this point in the history
  • Loading branch information
amathieson committed May 3, 2022
1 parent 233cd24 commit f55f5a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OmsiExtensionsUI/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ public class MainWindowViewModel : ViewModelBase

private Models.OmsiModel omsiModel;

#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
// Disabled warning given they are set in CreateCommands() and UpdateData().
public MainWindowViewModel()
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
{
CreateCommands();
}
Expand Down

0 comments on commit f55f5a4

Please sign in to comment.