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. ValueContext register(T value, string identity)
    struct ValueRegistrationContext
    register
    (
    T
    )
    (
    auto ref T value
    ,
    string identity
    )
  2. ValueContext register(T value)
  3. ValueContext 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