Skip to content

Compono.CompositionProviderRequest

Compono

Compono

CompositionProviderRequest Struct

A composition request, as seen by a public ICompositionValueProvider - decoupled from the engine's own internal Compono.CompositionRequest (no path, no shared-scope flag, no pipeline plumbing a provider author has no legitimate use for). See docs/adr/0024-public-provider-extensibility-model.md.

public readonly struct CompositionProviderRequest
Constructors
CompositionProviderRequest(Type, Type, string, Nullability) Creates a CompositionProviderRequest.
Properties
DeclaringType The type whose constructor/required member declares this request, or null for a request with no member identity (a collection element, a manual resolve, or the composition root itself) - the same field/same semantics DeclaringType already carries, per docs/adr/0020-composition-configuration-rules.md.
Name The declaring constructor parameter/required member/test-method-parameter's own name, for diagnostic display and name-based provider matching (e.g. a future Compono.Bogus member-name convention) - null for a request with no name of its own (a collection element, dictionary key/value, or manual resolve).
Nullability Whether the requesting parameter or member is nullable-annotated.
RequestedType The requested CLR type.