Linker

public final class Linker<T>

Specifying the Type to allow access to resolve the registered type.

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

Public

  • Link the connected type.

    Declaration

    Swift

    @discardableResult
    public func link<U>(_ type: U.Type) -> Linker<T>

    Parameters

    type

    The access type.

    Return Value

    This instance.