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()](/doc/en/lb4/apidocs.metadata.methoddecoratorfactory.create.html) | ||
| [createDecorator(key, spec, options)](/doc/en/lb4/apidocs.metadata.methoddecoratorfactory.createdecorator.html) | `static` | Create a method decorator function |
| [mergeWithInherited(inheritedMetadata, target, methodName, methodDescriptor)](/doc/en/lb4/apidocs.metadata.methoddecoratorfactory.mergewithinherited.html) | `protected` | |
| [mergeWithOwn(ownMetadata, target, methodName, methodDescriptor)](/doc/en/lb4/apidocs.metadata.methoddecoratorfactory.mergewithown.html) | `protected` |