
# IGeneratorRegistry interface

*No description yet.*

```csharp
public interface IGeneratorRegistry
```

**Namespace:** DXP · **Assembly:** Altium.SDK.Interfaces

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [Add](#add) | `void` |  |
| [Get](#get) | [IHRIDGenerator](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IHRIDGenerator.md) |  |

### Add

*No description yet.*

```csharp
void Add(string argContentType, IHRIDGenerator argGenerator);
void Add(string argContentType, object argGenerator);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argContentType` | `string` | value |
| `argGenerator` | [IHRIDGenerator](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IHRIDGenerator.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `IGeneratorRegistryHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

### Get

*No description yet.*

```csharp
IHRIDGenerator Get(string argContentType);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argContentType` | `string` | value |

**Returns:** [IHRIDGenerator](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IHRIDGenerator.md)

Extension method of `IGeneratorRegistryHelper` (`using DXP;`).

## Returned by

[IEDesignDataInterface.GeneratorRegistry](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignDataInterface.md#generatorregistry)
