SimpleContainer.addProvider

Undocumented in source.
  1. void addProvider(TypeInfo info, Provider provider)
  2. void addProvider(TypeInfo info, string name, Provider provider)
    class SimpleContainer
    protected pure
    void
    addProvider
    (
    TypeInfo info
    ,
    string name
    ,)
    out { assert (info in providers); assert (name in providers[info].namedProviders); assert (providers[info].mainProvider); }

Meta