Skip to content

Compono.ICompositionProfile

Compono

Compono

ICompositionProfile Interface

A reusable, named grouping of CompositionBuilder configuration - registrations, service-provider fallback, configuration rules, and other profiles - applied via AddProfile<TProfile>()/AddProfile(ICompositionProfile).

public interface ICompositionProfile

Remarks

A profile introduces no new engine concept of its own - Configure(CompositionBuilder) calls the exact same builder verbs a direct Create(Action<CompositionBuilder>) caller would. See docs/adr/0018-composition-profiles.md.

Methods
Configure(CompositionBuilder) Applies this profile's configuration to builder - called synchronously, immediately, during the AddProfile call that applies this profile.