# Class ChannelMap
Namespace: [Aeon.Environment](Aeon.Environment.md)
Assembly: Aeon.Environment.dll
Represents channel map configuration used by the light controller.
```csharp
[WorkflowElementCategory(ElementCategory.Source)]
[Combinator(MethodName = "Generate")]
public class ChannelMap
```
#### Inheritance
[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[ChannelMap](Aeon.Environment.ChannelMap.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)
## Constructors
### ChannelMap\(\)
```csharp
public ChannelMap()
```
### ChannelMap\(ChannelMap\)
```csharp
protected ChannelMap(ChannelMap other)
```
#### Parameters
`other` [ChannelMap](Aeon.Environment.ChannelMap.md)
## Properties
### Rooms
Specifies the collection of light channel maps for all rooms.
```csharp
[YamlMember(Alias = "rooms")]
public Dictionary Rooms { get; set; }
```
#### Property Value
[Dictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary\-2)<[string](https://learn.microsoft.com/dotnet/api/system.string), [RoomFixtures](Aeon.Environment.RoomFixtures.md)\>
## Methods
### Generate\(\)
```csharp
public IObservable Generate()
```
#### Returns
[IObservable](https://learn.microsoft.com/dotnet/api/system.iobservable\-1)<[ChannelMap](Aeon.Environment.ChannelMap.md)\>
### Generate\(IObservable\)
```csharp
public IObservable Generate(IObservable source)
```
#### Parameters
`source` [IObservable](https://learn.microsoft.com/dotnet/api/system.iobservable\-1)
#### Returns
[IObservable](https://learn.microsoft.com/dotnet/api/system.iobservable\-1)<[ChannelMap](Aeon.Environment.ChannelMap.md)\>
#### Type Parameters
`TSource`
### PrintMembers\(StringBuilder\)
```csharp
protected virtual bool PrintMembers(StringBuilder stringBuilder)
```
#### Parameters
`stringBuilder` [StringBuilder](https://learn.microsoft.com/dotnet/api/system.text.stringbuilder)
#### Returns
[bool](https://learn.microsoft.com/dotnet/api/system.boolean)
### ToString\(\)
Returns a string that represents the current object.
```csharp
public override string ToString()
```
#### Returns
[string](https://learn.microsoft.com/dotnet/api/system.string)
A string that represents the current object.