InjectableMethodBuilder<T, T2, T3, T4> Class

Summary

Injectable method builder
graph BT Type-->Base0["InjectableMethodBuilderBase"] click Base0 "/api/Rocket.Surgery.Reflection/InjectableMethodBuilderBase" Base0-->Base1["Object"] Type["InjectableMethodBuilder<T, T2, T3, T4>"] class Type type-node

Syntax

public class InjectableMethodBuilder<T, T2, T3, T4> : InjectableMethodBuilderBase

Attributes

Type Description
NullableContextAttribute
NullableAttribute
PublicAPIAttribute

Type Parameters

Name Description
T
T2 The type of the 2.
T3 The type of the 3.
T4 The type of the 4.

Properties

Name Value Summary
Container TypeInfo
Gets the container.
MethodNames ImmutableArray<string>
Gets the method names.

Methods

Name Value Summary
Compile() Action<object, IServiceProvider, T, T2, T3, T4>
Compiles this instance.
Compile(TypeInfo[]) ValueTuple<MethodCallExpression, IEnumerable<ParameterExpression>>
Compiles the specified arguments.
Compile<TResult>() Func<object, IServiceProvider, T, T2, T3, T4, TResult>
Compiles this instance.
CompileStatic() Action<IServiceProvider, T, T2, T3, T4>
Compiles the static.
CompileStatic<TResult>() Func<IServiceProvider, T, T2, T3, T4, TResult>
Compiles the static.
ForMethod(string) InjectableMethodBuilder<T, T2, T3, T4>
Fors the method.
GetMethodInfo() MethodInfo
Gets the method information.
WithParameter<TNext>() InjectableMethodBuilder<T, T2, T3, T4, TNext>
Withes the parameter.

Extension Methods