tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ChatUpdate.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.Linq;
4
6
8{
12 public class ChatUpdate
13 {
17 public IEnumerable<ChannelRepresentation> Channels { get; }
18
23 public ChatUpdate(IEnumerable<ChannelRepresentation> channels)
24 {
25 Channels = channels?.ToList() ?? throw new ArgumentNullException(nameof(channels));
26 }
27 }
28}
Represents an update of ChannelRepresentations.
Definition ChatUpdate.cs:13
IEnumerable< ChannelRepresentation > Channels
The IEnumerable<T> of ChannelRepresentations.
Definition ChatUpdate.cs:17
ChatUpdate(IEnumerable< ChannelRepresentation > channels)
Initializes a new instance of the ChatUpdate class.
Definition ChatUpdate.cs:23