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

Parameters

value T

component to be registered in container

T

type of component

Return Value

ValueRegistrationContext

Meta