InjectableMethodBuilder<T> Class

Summary

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

Syntax

public class InjectableMethodBuilder<T> : InjectableMethodBuilderBase

Attributes

Type Description
NullableContextAttribute
NullableAttribute
PublicAPIAttribute

Type Parameters

Name Description
T

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

Extension Methods