Interface ICommandResponseValueHandlerForAttributed<TAttribute>
- Namespace
- Cratis.Arc.Commands
- Assembly
- Cratis.Arc.Core.dll
Defines a command response value handler for values whose type carries an attribute.
public interface ICommandResponseValueHandlerForAttributed<TAttribute> where TAttribute : Attribute
Type Parameters
TAttributeThe attribute identifying values consumed by the handler on the server.
- Extension Methods
Remarks
The declaration lets build-time tooling distinguish values whose own type carries the attribute from values returned to the client. Inherited attributes count only when their attribute usage permits inheritance. Collections are not implied; declare ICommandResponseValueHandlerForAttributedEnumerable<TAttribute> separately for supported enumerable shapes. Runtime handlers continue to implement ICommandResponseValueHandler directly so type discovery and dependency injection retain their existing contract. The marker does not change runtime value handling.