FWModuleAnnotation

@propertyWrapper
public struct FWModuleAnnotation<T>

模块属性包装器注解 使用示例: @FWModuleAnnotation(UserModuleService.self) static var userModule: UserModuleService

  • Undocumented

    Declaration

    Swift

    public init(_ serviceProtocol: Protocol)
  • Undocumented

    Declaration

    Swift

    public init(_ serviceProtocol: Protocol, module: FWModuleProtocol.Type)
  • Undocumented

    Declaration

    Swift

    public var wrappedValue: T { get set }