You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
601 B

2 years ago
  1. //
  2. // Copyright © 2019 Swinject Contributors. All rights reserved.
  3. //
  4. // MARK: For auto migration from Swinject v1 to v2.
  5. extension ObjectScope {
  6. @available(*, unavailable, renamed: "transient")
  7. public static let none = transient
  8. @available(*, unavailable, renamed: "container")
  9. public static let hierarchy = container
  10. }
  11. @available(*, unavailable, renamed: "Resolver")
  12. public protocol ResolverType {}
  13. @available(*, unavailable, renamed: "Assembly")
  14. public protocol AssemblyType {}
  15. @available(*, unavailable, renamed: "ServiceKeyOption")
  16. public protocol ServiceKeyOptionType {}