---
lang: en
title: 'API docs: metadata.classdecoratorfactory'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.metadata.classdecoratorfactory.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/metadata](./metadata.md) &gt; [ClassDecoratorFactory](./metadata.classdecoratorfactory.md)

## ClassDecoratorFactory class

Factory for class decorators

<b>Signature:</b>

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

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [create()](./metadata.classdecoratorfactory.create.md) |  |  |
|  [createDecorator(key, spec, options)](./metadata.classdecoratorfactory.createdecorator.md) | <code>static</code> | Create a class decorator function |
|  [mergeWithInherited(inheritedMetadata, target, member, descriptorOrIndex)](./metadata.classdecoratorfactory.mergewithinherited.md) |  |  |
|  [mergeWithOwn(ownMetadata, target, member, descriptorOrIndex)](./metadata.classdecoratorfactory.mergewithown.md) |  |  |


