DIEdge

public final class DIEdge : Hashable

Information about transition in dependency graph adjacency list. This transition is a dependency.

  • Is it dependency from init method.

    Declaration

    Swift

    public let initial: Bool
  • Is it dependency cycle. It could be only dependency written as .injection(cycle: true,...

    Declaration

    Swift

    public let cycle: Bool
  • Is it dependency optional. Optional dependency contains Optional type.

    Declaration

    Swift

    public let optional: Bool
  • Is it dependency many. See more information about many in modificators.

    Declaration

    Swift

    public let many: Bool
  • Is it dependency delayed. Is it or Lazy or Provider from SwiftLazy library

    Declaration

    Swift

    public let delayed: Bool
  • Dependency all tags. Can be empty.

    Declaration

    Swift

    public let tags: [DITag]
  • Dependency name. Can be nil.

    Declaration

    Swift

    public let name: String?
  • The type that transition

    Declaration

    Swift

    public let type: DIAType
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)
  • Declaration

    Swift

    public static func == (lhs: DIEdge, rhs: DIEdge) -> Bool