ValueRegistrationContext.register

Register a component into value container by identity, type or interface.

Register a component into value container by identity, type or interface.

  1. ValueRegistrationContext register(T value, string identity)
    struct ValueRegistrationContext
    ref
    register
    (
    T
    )
    (
    auto ref T value
    ,
    string identity
    )
  2. ValueRegistrationContext register(T value)
  3. ValueRegistrationContext register(T value)

Parameters

value T

component to be registered in container

identity string

identity of component in container

T

type of component

Return Value

ValueRegistrationContext

Meta