Classes

The following classes are available globally.

  • The AppContext is the context that wrapped the container.

    Most of them provide the same functionality as Containers, but they are responsible for functions such as Lazy and Factory.

    See more

    Declaration

    Swift

    public class AppContext
  • Specifying the Type to allow access to resolve the registered type.

    It is instantiated by AppContext and only accessible link() method from the outside.

    See more

    Declaration

    Swift

    public final class Linker<T>
  • The ModuleFactory protocol is a factory of that loads dependency graph.

    The code that generates dependency graph should be written on load() method.

    See more

    Declaration

    Swift

    open class ModuleFactory