
# CommandLauncher class

*No description yet.*

```csharp
public class CommandLauncher : SupportService, ICommandLauncher
```

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

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

## Constructors

```csharp
public CommandLauncher(string argModuleName);
```

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [GetCommandState](#getcommandstate) | `void` |  |
| [LaunchCommand](#launchcommand) | `void` |  |
| [RegisterCommand](#registercommand) | `void` |  |

### GetCommandState

*No description yet.*

```csharp
void GetCommandState(string argCommandName, ref string argParameters, object argContext, ref bool argEnabled, ref bool argChecked, ref bool argVisible, ref string argCaption, ref string argImageFile);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCommandName` | `string` | value |
| `argParameters` | `string` | ref |
| `argContext` | `object` | value |
| `argEnabled` | `bool` | ref |
| `argChecked` | `bool` | ref |
| `argVisible` | `bool` | ref |
| `argCaption` | `string` | ref |
| `argImageFile` | `string` | ref |

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

### LaunchCommand

*No description yet.*

```csharp
void LaunchCommand(string argCommandName, ref string argParameters, object argContext);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCommandName` | `string` | value |
| `argParameters` | `string` | ref |
| `argContext` | `object` | value |

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

### RegisterCommand

*No description yet.*

```csharp
void RegisterCommand(string argCommandId, CommandProc argCommandProc, GetStateProc argGetStateProc);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCommandId` | `string` | value |
| `argCommandProc` | [CommandProc](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/CommandProc.md) | value |
| `argGetStateProc` | [GetStateProc](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/GetStateProc.md) | value |

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