Interface ICommandResponseValueHandlerForAttributedEnumerable<TAttribute>
- Namespace
- Cratis.Arc.Commands
- Assembly
- Cratis.Arc.Core.dll
Defines a command response value handler for enumerables of attributed reference values.
public interface ICommandResponseValueHandlerForAttributedEnumerable<TAttribute> where TAttribute : Attribute
Type Parameters
TAttributeThe attribute identifying elements consumed by the handler on the server.
- Extension Methods
Remarks
The declaration lets build-time tooling distinguish enumerables compatible with IEnumerable<T> whose declared reference element type carries the attribute from values returned to the client. Inherited attributes count only when their attribute usage permits inheritance. Rectangular arrays, value-type element collections and object-element collections are not implied. Scalar values require a separate ICommandResponseValueHandlerForAttributed<TAttribute> declaration. Runtime handlers continue to implement ICommandResponseValueHandler directly; the marker does not change runtime value handling.