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.v20.1.dll

Declaration

public TypeRegistration WithCtorArgument(
    string name,
    object value
)
Public Function WithCtorArgument(
    name As String,
    value As Object
) As TypeRegistration

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