Page Contents

Home > @loopback/metadata > MethodDecoratorFactory

MethodDecoratorFactory class

Factory for method decorators

Signature:

export declare class MethodDecoratorFactory<T> extends DecoratorFactory<T, MetadataMap<T>, MethodDecorator> 

Extends: DecoratorFactory<T, MetadataMap<T>, MethodDecorator>

Methods

Method Modifiers Description
create()    
createDecorator(key, spec, options) static Create a method decorator function
mergeWithInherited(inheritedMetadata, target, methodName, methodDescriptor) protected  
mergeWithOwn(ownMetadata, target, methodName, methodDescriptor) protected