Skip to main content
A newer version of this page is available. .

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.v18.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