Table of Contents

Class DependencyImplementorBuilderExtensions

Namespace
LfrlAnvil.Dependencies.Extensions
Assembly
LfrlAnvil.Dependencies.dll

Contains IDependencyImplementorBuilder extension methods.

public static class DependencyImplementorBuilderExtensions
Inheritance
DependencyImplementorBuilderExtensions
Inherited Members

Methods

FromType<T>(IDependencyImplementorBuilder, Action<IDependencyConstructorInvocationOptions>?)

Specifies that this implementor's instances should be created by the best suited constructor of the provided type.

public static IDependencyImplementorBuilder FromType<T>(this IDependencyImplementorBuilder builder, Action<IDependencyConstructorInvocationOptions>? configuration = null)

Parameters

builder IDependencyImplementorBuilder

Source dependency implementor builder.

configuration Action<IDependencyConstructorInvocationOptions>

Optional configurator of the constructor invocation.

Returns

IDependencyImplementorBuilder

builder.

Type Parameters

T

Implementor's type.