ConventionComposerExtensions.

Register(IConventionComposer, IConventionContext, Type, Type[]) Method

Summary

Uses all the conventions and calls the register method for all of them.

Syntax

public static void Register(this IConventionComposer composer, IConventionContext context, Type type, params Type[] types)

Attributes

Type Description
NullableContextAttribute
ObsoleteAttribute

Parameters

Name Type Description
composer IConventionComposer The composer.
context IConventionContext The valid context for the types
type Type The first type to compose with. This type will either be a System.Delegate that takes IConventionContext, or a type that implements IConvention<TContext>
types Type[] The other types to compose with. This type will either be a System.Delegate that takes IConventionContext, or a type that implements IConvention<TContext>

Return Value

Type Description
void