Function ToMethodWithInjectionContext
ToMethodWithInjectionContext< ReturnType = any, Parameter = any, MethodType extends Method<ReturnType, Parameter> = Method<ReturnType, Parameter>,>( call: ( parameters?: Parameter, ...args: any[], ) => ReturnType | Promise<ReturnType>, injector: Injector, metadata?: any,): MethodType