@midwayjs/coreClassesMidwayAspectService版本:Next本页总览MidwayAspectService Index ConstructorsconstructorPropertiesapplicationContextMethodsaddAspectinterceptPrototypeMethodloadAspectConstructors constructornew MidwayAspectService(applicationContext: IMidwayContainer): MidwayAspectServiceProperties readonlyapplicationContextapplicationContext: IMidwayContainerMethods publicaddAspectaddAspect(aspectIns: IMethodAspect, aspectData: AspectMetadata): Promise<void>publicinterceptPrototypeMethodinterceptPrototypeMethod(Clz: new (...args: any[]) => any, methodName: string, aspectObject: IMethodAspect | () => IMethodAspect): voidintercept class method in prototypepublicloadAspectloadAspect(): Promise<void>load aspect method for container
intercept class method in prototype