Files
Nexus.Reader/src/.documentation/cache/summaries/NexusReader.Application__Abstractions__Messaging__IQueryHandler.cs.json
T
2026-05-25 14:02:56 +02:00

1 line
2.6 KiB
JSON

{"path":"NexusReader.Application/Abstractions/Messaging/IQueryHandler.cs","purpose":"Declares an application-layer abstraction for handling queries (CQRS) where handlers return a FluentResults.Result<TResponse> via MediatR.","classification":{"role":"handler","layer":"application","confidence":0.9,"evidence":["namespace NexusReader.Application.Abstractions.Messaging indicates an application abstraction for messaging","interface IQueryHandler<TQuery, TResponse> extends MediatR.IRequestHandler<TQuery, Result<TResponse>>"]},"className":"IQueryHandler","methods":[{"name":"Handle","line":6,"endLine":9,"signature":"(request: TQuery, cancellationToken: CancellationToken) -> Task<Result<TResponse>>","purpose":"Implied contract method for handling a query and returning a Result-wrapped TResponse asynchronously (inherited from MediatR IRequestHandler).","calls":[],"actions":[{"id":"inheritance_6","kind":"mapping","label":"Inherits MediatR IRequestHandler contract","line":6,"detail":"IQueryHandler<TQuery, TResponse> : IRequestHandler<TQuery, Result<TResponse>> - implies Handle(request, CancellationToken) -> Task<Result<TResponse>>","visibility":"detail-only","confidence":0.7},{"id":"generic-constraint_7","kind":"mapping","label":"Query type constraint","line":7,"detail":"where TQuery : IQuery<TResponse> enforces that TQuery implements IQuery<TResponse>","visibility":"detail-only","confidence":0.7}]}],"types":[{"name":"IQueryHandler","kind":"interface","line":6,"purpose":"Generic interface representing a query handler that processes a TQuery and returns a Result-wrapped TResponse using MediatR semantics.","fields":[]}],"serviceRegistrations":[],"startupActions":[],"dependencies":["FluentResults","MediatR"],"patterns":["Mediator","CQRS Handler"],"domainConcepts":["Query","Result"],"keyDetails":"Thin application-layer abstraction that binds the project's IQuery<TResponse> concept to MediatR's IRequestHandler and FluentResults.Result for uniform asynchronous query handling.","orchestrationMethods":[],"typedContracts":[{"name":"IQueryHandler","kind":"interface","line":6,"fieldCount":0,"evidencePaths":["NexusReader.Application/Abstractions/Messaging/IQueryHandler.cs"]}],"persistenceInteractions":[],"externalInteractions":[],"evidenceAnchors":[{"kind":"typed-contract","label":"IQueryHandler","line":6,"summary":"interface with 0 fields.","confidence":0.8,"evidencePaths":["NexusReader.Application/Abstractions/Messaging/IQueryHandler.cs"]}],"cacheMetadata":{"schemaVersion":2,"analysisVersion":"2026-05-23.cache-v1","contentChecksum":"1a365adef17e2cc45bafcca5fb3c98d03c2d8c7d17aa9342043e2554b210be35","sourceByteSize":241,"analyzedAt":"2026-05-23T16:16:08.026Z","technology":"dotnet"}}