InjectableMethodBuilder Class

Summary

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

Syntax

public class InjectableMethodBuilder : InjectableMethodBuilderBase

Attributes

Type Description
NullableContextAttribute
NullableAttribute
PublicAPIAttribute

Constructors

Name Summary
InjectableMethodBuilder(Type, ImmutableArray<string>) Initializes a new instance of the InjectableMethodBuilder class.
InjectableMethodBuilder(Type) Initializes a new instance of the InjectableMethodBuilder class.

Properties

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

Methods

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

Extension Methods

See Also