Skip to main content

TypeRegistration.WithCtorArgument(String, Object) Method

Registers a constructor parameter value (if it is not registered in the container as a dependency).

Namespace: DevExpress.Utils.IoC

Assembly: DevExpress.Data.v24.2.dll

Declaration

public TypeRegistration WithCtorArgument(
    string name,
    object value
)

Parameters

Name Type Description
name String

A String value, specifying the parameter name.

value Object

A Object value, specifying the parameter value.

Returns

Type Description
TypeRegistration

A TypeRegistration object.

See Also