Skip to content

Commit

Permalink
Merge pull request #23 from space928/Warning-Suppression-Patch
Browse files Browse the repository at this point in the history
 + Suppress Warnings in UI Tester
  • Loading branch information
space928 authored May 4, 2022
2 parents 794465b + f55f5a4 commit 8841b67
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 8841b67

Please sign in to comment.