{"path":"NexusReader.Application/Commands/Quiz/SubmitAnswerCommand.cs","purpose":"Defines a simple application command that carries a quiz answer selection (selected index and correct index) to be handled by the application's command pipeline.","classification":{"role":"handler","layer":"application","confidence":0.9,"evidence":["Command pattern","Namespace NexusReader.Application.Commands.Quiz","Type implements ICommand from the application's messaging abstractions"]},"className":"SubmitAnswerCommand","methods":[],"types":[{"name":"SubmitAnswerCommand","kind":"command","line":5,"purpose":"Represents a CQRS command carrying the user's selected answer index and the correct answer index for a quiz question.","fields":[{"name":"SelectedIndex","type":"int","required":true,"line":5,"description":"The index chosen by the user"},{"name":"CorrectIndex","type":"int","required":true,"line":5,"description":"The index that is the correct answer"}]}],"serviceRegistrations":[],"startupActions":[],"dependencies":["NexusReader.Application.Abstractions.Messaging"],"patterns":["CQRS Command"],"domainConcepts":["Quiz","Answer Submission"],"keyDetails":"Minimal DTO/command type used to submit a quiz answer; no methods or behavior in this file beyond the record declaration.","orchestrationMethods":[],"typedContracts":[{"name":"SubmitAnswerCommand","kind":"command","line":5,"fieldCount":2,"evidencePaths":["NexusReader.Application/Commands/Quiz/SubmitAnswerCommand.cs"]}],"persistenceInteractions":[],"externalInteractions":[],"evidenceAnchors":[{"kind":"typed-contract","label":"SubmitAnswerCommand","line":5,"summary":"command with 2 fields.","confidence":0.8,"evidencePaths":["NexusReader.Application/Commands/Quiz/SubmitAnswerCommand.cs"]}],"cacheMetadata":{"schemaVersion":2,"analysisVersion":"2026-05-23.cache-v1","contentChecksum":"afbda632f3de8fcd577301575f2a26cb26b65193feef53a15bace61248131324","sourceByteSize":193,"analyzedAt":"2026-05-23T16:16:48.600Z","technology":"dotnet"}}