InjectableMethodBuilder<T, T2> Class

Summary

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

Syntax

public class InjectableMethodBuilder<T, T2> : InjectableMethodBuilderBase

Attributes

Type Description
NullableContextAttribute
NullableAttribute
PublicAPIAttribute

Type Parameters

Name Description
T
T2 The type of the 2.

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>
Compiles this instance.
Compile(TypeInfo[]) ValueTuple<MethodCallExpression, IEnumerable<ParameterExpression>>
Compiles the specified arguments.
Compile<TResult>() Func<object, IServiceProvider, T, T2, TResult>
Compiles this instance.
CompileStatic() Action<IServiceProvider, T, T2>
Compiles the static.
CompileStatic<TResult>() Func<IServiceProvider, T, T2, TResult>
Compiles the static.
ForMethod(string) InjectableMethodBuilder<T, T2>
Fors the method.
GetMethodInfo() MethodInfo
Gets the method information.
WithParameter<TNext>() InjectableMethodBuilder<T, T2, TNext>
Withes the parameter.

Extension Methods