> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Struct EntityDescriptor

Namespace: [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD)\
Assembly: OpenTD.dll

Describes a TD entity, such as a node or a lump

```csharp theme={null}
[MessagePackObject(true)]
public struct EntityDescriptor
```

## Inherited Members

[object.Equals(object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.ReferenceEquals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

### EntityDescriptor(string, Connection)

```csharp theme={null}
public EntityDescriptor(string rawType, Connection connection)
```

#### Parameters

`rawType` [string](https://learn.microsoft.com/dotnet/api/system.string)

`connection` [Connection](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Connection.md)

### EntityDescriptor(string, string)

```csharp theme={null}
public EntityDescriptor(string rawType, string handle)
```

#### Parameters

`rawType` [string](https://learn.microsoft.com/dotnet/api/system.string)

`handle` [string](https://learn.microsoft.com/dotnet/api/system.string)

## Fields

### Connection

```csharp theme={null}
public Connection Connection
```

#### Field Value

[Connection](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Connection.md)

### RawType

This is how AutoCAD identifies the entity type. For example,
"RcNode" or "RcLump"

```csharp theme={null}
public string RawType
```

#### Field Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## Methods

### ToString()

Returns the fully qualified type name of this instance.

```csharp theme={null}
public override string ToString()
```

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

The fully qualified type name.
