    

 ## On this page

  

 

 # Class StackAliasManager

 Last update: 09.03.2026 

Namespace: [OpenTD](OpenTD.md)  
Assembly: OpenTD.dll

Use to manage thermophysical property aliases. Each ThermalDesktop object includes a StackAliasManager.

```csharp
public class StackAliasManager

```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [StackAliasManager](OpenTD.StackAliasManager.md)

## Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring), [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.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode), [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype), [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Methods

### CreateOrUpdateAlias(string, string)

```csharp
public void CreateOrUpdateAlias(string aliasName, string materialName)

```

#### Parameters

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

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

### DeleteAlias(string)

```csharp
public void DeleteAlias(string name)

```

#### Parameters

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

### GetAlias(string)

```csharp
public Tuple<string, string> GetAlias(string name)

```

#### Parameters

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

#### Returns

[Tuple](https://learn.microsoft.com/dotnet/api/system.tuple-2)&lt;[string](https://learn.microsoft.com/dotnet/api/system.string), [string](https://learn.microsoft.com/dotnet/api/system.string)&gt;

### GetAliases()

```csharp
public List<Tuple<string, string>> GetAliases()

```

#### Returns

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[Tuple](https://learn.microsoft.com/dotnet/api/system.tuple-2)&lt;[string](https://learn.microsoft.com/dotnet/api/system.string), [string](https://learn.microsoft.com/dotnet/api/system.string)&gt;&gt;

### RenameAlias(string, string)

```csharp
public void RenameAlias(string oldname, string newname)

```

#### Parameters

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

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