Interface IConventionsRegistrar
Registrar for composition conventions.
Namespace: Kephas.Composition.Conventions
Assembly: Kephas.Core.dll
Syntax
public interface IConventionsRegistrar
Methods
| Improve this Doc View SourceRegisterConventions(IConventionsBuilder, IList<Type>, ICompositionRegistrationContext)
Registers the conventions.
Declaration
void RegisterConventions(IConventionsBuilder builder, IList<Type> candidateTypes, ICompositionRegistrationContext registrationContext)
Parameters
Type | Name | Description |
---|---|---|
IConventionsBuilder | builder | The registration builder. |
System.Collections.Generic.IList<System.Type> | candidateTypes | The candidate types which can take part in the composition. |
ICompositionRegistrationContext | registrationContext | Context for the registration. |
Remarks
The candidate types provided may be changed, typically by adding new types.