Page Contents

Home > @loopback/metadata > ClassDecoratorFactory

ClassDecoratorFactory class

Factory for class decorators

Signature:

export declare class ClassDecoratorFactory<T> extends DecoratorFactory<T, T, ClassDecorator> 

Extends: DecoratorFactory<T, T, ClassDecorator>

Methods

Method Modifiers Description
[create()](/doc/en/lb4/apidocs.metadata.classdecoratorfactory.create.html)
[createDecorator(key, spec, options)](/doc/en/lb4/apidocs.metadata.classdecoratorfactory.createdecorator.html) `static` Create a class decorator function
[mergeWithInherited(inheritedMetadata, target, member, descriptorOrIndex)](/doc/en/lb4/apidocs.metadata.classdecoratorfactory.mergewithinherited.html) `protected`
[mergeWithOwn(ownMetadata, target, member, descriptorOrIndex)](/doc/en/lb4/apidocs.metadata.classdecoratorfactory.mergewithown.html) `protected`