Compono.CompositionRow.ShareExplicit TValue (Compono.CompositionRequestDescriptor,TValue)
Compono¶
Compono.CompositionRow¶
CompositionRow.ShareExplicit\<TValue>(CompositionRequestDescriptor, TValue) Method¶
Stores value - already known, not composed - as this row's shared value for TValue, after the same authoritative validation a successful ResolveShared<TValue>(CompositionRequestDescriptor) pipeline result gets. No pipeline dispatch, no random fork consumed - there is nothing left to compose.
public void ShareExplicit<TValue>(in Compono.CompositionRequestDescriptor descriptor, TValue value);
Type parameters¶
TValue
The shared value's type.
Parameters¶
descriptor CompositionRequestDescriptor
The compact, compile-time-constructed request metadata.
value TValue
The already-known value to share.
Exceptions¶
CompositionException
value is null for a non-nullable request, or its runtime type isn't assignable to TValue; or a shared value for TValue has already been established in this row.