Click or drag to resize

DependencyInjectionRegisterT, ParamType Method

Registers a type with a delegate which will return an instance, and takes a single parameter of type ParamType.

Namespace:  Demo3D.Standard
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 17.00.05
Syntax
C#
public static IRegistrationBuilder<T, SimpleActivatorData, SingleRegistrationStyle> Register<T, ParamType>(
	Func<ParamType, T> function
)
where T : class

Parameters

function
Type: SystemFuncParamType, T

[Missing <param name="function"/> documentation for "M:Demo3D.Standard.DependencyInjection.Register``2(System.Func{``1,``0})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Demo3D.Standard.DependencyInjection.Register``2(System.Func{``1,``0})"]

ParamType

[Missing <typeparam name="ParamType"/> documentation for "M:Demo3D.Standard.DependencyInjection.Register``2(System.Func{``1,``0})"]

Return Value

Type: IRegistrationBuilderT, SimpleActivatorData, SingleRegistrationStyle

[Missing <returns> documentation for "M:Demo3D.Standard.DependencyInjection.Register``2(System.Func{``1,``0})"]

See Also