# Class CreateRoomLightMessage Namespace: [Aeon.Environment](Aeon.Environment.md) Assembly: Aeon.Environment.dll ```csharp public class CreateRoomLightMessage : Source ``` #### Inheritance [object](https://learn.microsoft.com/dotnet/api/system.object) ← Source ← [CreateRoomLightMessage](Aeon.Environment.CreateRoomLightMessage.md) #### Inherited Members Source.Generate\(\), [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) ## Properties ### Channel ```csharp public int Channel { get; set; } ``` #### Property Value [int](https://learn.microsoft.com/dotnet/api/system.int32) ### Value ```csharp [Range(-1, 254)] public int Value { get; set; } ``` #### Property Value [int](https://learn.microsoft.com/dotnet/api/system.int32) ## Methods ### Generate\(\) Generates an observable sequence of data elements. ```csharp public override IObservable Generate() ``` #### Returns [IObservable](https://learn.microsoft.com/dotnet/api/system.iobservable\-1)<[RoomLightMessage](Aeon.Environment.RoomLightMessage.md)\> An observable sequence of data elements of type . ### 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)<[RoomLightMessage](Aeon.Environment.RoomLightMessage.md)\> #### Type Parameters `TSource`