@midwayjs/coreClassesDecoratorManager版本:Next本页总览DecoratorManager This class is used to manage the decorator data of the class@since3.0.0Index ConstructorsconstructorMethodsclearAllModulecreateCustomMethodDecoratorcreateCustomParamDecoratorcreateCustomPropertyDecoratorgetProviderIdgetProviderNamegetProviderUUIdisProvidelistModulelistPreStartModuleresetModulesaveModulesavePreStartModulesaveProviderIdConstructors constructornew DecoratorManager(): DecoratorManagerMethods publicstaticclearAllModuleclearAllModule(): voidpublicstaticcreateCustomMethodDecoratorcreateCustomMethodDecorator(decoratorKey: string, metadata: any, implOrOptions?: boolean | MethodDecoratorOptions): MethodDecoratorpublicstaticcreateCustomParamDecoratorcreateCustomParamDecorator(decoratorKey: string, metadata: any, implOrOptions?: boolean | ParamDecoratorOptions): ParameterDecoratorpublicstaticcreateCustomPropertyDecoratorcreateCustomPropertyDecorator(decoratorKey: string, metadata: any, implOrOptions?: boolean | PropertyDecoratorOptions): PropertyDecoratorpublicstaticgetProviderIdgetProviderId(module: ClassType): stringpublicstaticgetProviderNamegetProviderName(module: ClassType): stringpublicstaticgetProviderUUIdgetProviderUUId(module: ClassType): stringpublicstaticisProvideisProvide(target: any): booleanpublicstaticlistModulelistModule(key: ObjectIdentifier, filter?: (module: any) => boolean): any[]publicstaticlistPreStartModulelistPreStartModule(): any[]publicstaticresetModuleresetModule(key: any): voidpublicstaticsaveModulesaveModule(key: ObjectIdentifier, module: any): voidpublicstaticsavePreStartModulesavePreStartModule(module: any): voidpublicstaticsaveProviderIdsaveProviderId(identifier: ObjectIdentifier, target: ClassType): ClassType
This class is used to manage the decorator data of the class
3.0.0