Skip to content

refactoring code

refactoring code #11

Triggered via push March 20, 2024 07:39
Status Success
Total duration 29s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: quiz-console-app/Helpers/QuestionLoader.cs#L7
Cannot convert null literal to non-nullable reference type.
build: quiz-console-app/Helpers/QuestionLoader.cs#L7
Cannot convert null literal to non-nullable reference type.
build: quiz-console-app/ViewModels/UserAnswerKeyViewModel.cs#L8
Non-nullable property 'UserAnswerOption' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: quiz-console-app/ViewModels/UserAnswerKeyViewModel.cs#L9
Non-nullable property 'UserAnswerOptionText' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: quiz-console-app/ViewModels/QuestionViewModel.cs#L8
Non-nullable property 'AskText' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: quiz-console-app/ViewModels/QuestionViewModel.cs#L9
Non-nullable property 'Explanation' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: quiz-console-app/ViewModels/QuestionViewModel.cs#L11
Non-nullable property 'QuestionOptions' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: quiz-console-app/ViewModels/QuestionOptionViewModel.cs#L5
Non-nullable property 'Text' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: quiz-console-app/Configurations/QuizOptions.cs#L10
Non-nullable property 'ScoringRules' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: quiz-console-app/Configurations/QuizOptions.cs#L11
Non-nullable property 'Questions' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.