Skip to content

Compono.CompositionProviderResult

Compono

Compono

CompositionProviderResult Struct

What an ICompositionValueProvider reports for one CompositionProviderRequest.

public readonly struct CompositionProviderResult

Remarks

Deliberately only two cases, mirroring the engine's own internal provider result contract: a public provider can report that it doesn't apply, or that it produced a value - never a stronger "failure." An unhandled exception a provider's own TryProvide(CompositionProviderRequest, ICompositionContext) implementation throws propagates uncaught, exactly like an internal pipeline-stage provider's exception does today. See docs/adr/0024-public-provider-extensibility-model.md.

Properties
NotHandled The provider does not handle this request.
Methods
Handled(object) The provider produced value for this request.