ResolverStack

public struct ResolverStack<Boundary, Current> where Boundary : AnyBoundary, Boundary : BoundaryProtocol, Current : BoundaryListProtocol

Generic type for the Resolver. It has 2 generic types: Boundary and a list of boundaries. The Current boundary list represents the resolved dependencies of the boundary.

  • The dependencies of the boundary.

    Declaration

    Swift

    public typealias Target = Boundary.Dependencies
  • Self is not covariant on Swift, so this Self type is the concrete type of Self.

    Declaration

    Swift

    public typealias ResolverStack<Boundary, Current>.`Self` = ResolverStack<Boundary, Current>

Available where Target.Boundary1: Boundaries.Boundary, Current.Boundary1 == Empty

Available where Target.Boundary2: Boundaries.Boundary, Current.Boundary2 == Empty

Available where Target.Boundary3: Boundaries.Boundary, Current.Boundary3 == Empty

Available where Target.Boundary4: Boundaries.Boundary, Current.Boundary4 == Empty

Available where Target.Boundary5: Boundaries.Boundary, Current.Boundary5 == Empty

Available where Target.Boundary6: Boundaries.Boundary, Current.Boundary6 == Empty

Available where Target.Boundary7: Boundaries.Boundary, Current.Boundary7 == Empty

Available where Target.Boundary8: Boundaries.Boundary, Current.Boundary8 == Empty

Available where Target.Boundary9: Boundaries.Boundary, Current.Boundary9 == Empty

Available where Target.Boundary10: Boundaries.Boundary, Current.Boundary10 == Empty

Available where Target.Boundary11: Boundaries.Boundary, Current.Boundary11 == Empty

Available where Target.Boundary12: Boundaries.Boundary, Current.Boundary12 == Empty

Available where Target.Boundary13: Boundaries.Boundary, Current.Boundary13 == Empty

Available where Target.Boundary14: Boundaries.Boundary, Current.Boundary14 == Empty

Available where Target.Boundary15: Boundaries.Boundary, Current.Boundary15 == Empty

Available where Target.Boundary16: Boundaries.Boundary, Current.Boundary16 == Empty

Available where Target.Boundary17: Boundaries.Boundary, Current.Boundary17 == Empty

Available where Target.Boundary18: Boundaries.Boundary, Current.Boundary18 == Empty

Available where Target.Boundary19: Boundaries.Boundary, Current.Boundary19 == Empty

Available where Target.Boundary20: Boundaries.Boundary, Current.Boundary20 == Empty

Available where Target.Boundary1: PluginBoundary, Current.Boundary1 == Empty

Available where Target.Boundary2: PluginBoundary, Current.Boundary2 == Empty

Available where Target.Boundary3: PluginBoundary, Current.Boundary3 == Empty

Available where Target.Boundary4: PluginBoundary, Current.Boundary4 == Empty

Available where Target.Boundary5: PluginBoundary, Current.Boundary5 == Empty

Available where Target.Boundary6: PluginBoundary, Current.Boundary6 == Empty

Available where Target.Boundary7: PluginBoundary, Current.Boundary7 == Empty

Available where Target.Boundary8: PluginBoundary, Current.Boundary8 == Empty

Available where Target.Boundary9: PluginBoundary, Current.Boundary9 == Empty

Available where Target.Boundary10: PluginBoundary, Current.Boundary10 == Empty

Available where Target.Boundary11: PluginBoundary, Current.Boundary11 == Empty

Available where Target.Boundary12: PluginBoundary, Current.Boundary12 == Empty

Available where Target.Boundary13: PluginBoundary, Current.Boundary13 == Empty

Available where Target.Boundary14: PluginBoundary, Current.Boundary14 == Empty

Available where Target.Boundary15: PluginBoundary, Current.Boundary15 == Empty

Available where Target.Boundary16: PluginBoundary, Current.Boundary16 == Empty

Available where Target.Boundary17: PluginBoundary, Current.Boundary17 == Empty

Available where Target.Boundary18: PluginBoundary, Current.Boundary18 == Empty

Available where Target.Boundary19: PluginBoundary, Current.Boundary19 == Empty

Available where Target.Boundary20: PluginBoundary, Current.Boundary20 == Empty

Available where Boundary.Dependencies == Current

  • When all the dependencies has been resolved, this method finishes the process by resolving the boundary It returns you a Resolved type. Which gives you access to the Boundary’s InputPort.

    Declaration

    Swift

    func resolved() -> Resolved<Boundary>