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
builderIDependencyImplementorBuilderSource dependency implementor builder.
configurationAction<IDependencyConstructorInvocationOptions>Optional configurator of the constructor invocation.
Returns
- IDependencyImplementorBuilder
builder.
Type Parameters
TImplementor's type.