tgstation-server  4.4.0
The /tg/station 13 server suite
ChatUpdate.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
5 
6 namespace Tgstation.Server.Host.Components.Interop
7 {
11  public class ChatUpdate
12  {
16  public IEnumerable<ChannelRepresentation> Channels { get; }
17 
22  public ChatUpdate(IEnumerable<ChannelRepresentation> channels)
23  {
24  Channels = channels?.ToList() ?? throw new ArgumentNullException(nameof(channels));
25  }
26  }
27 }
ChatUpdate(IEnumerable< ChannelRepresentation > channels)
Initializes a new instance of the ChatUpdate .
Definition: ChatUpdate.cs:22
Represents an update of ChannelRepresentations.
Definition: ChatUpdate.cs:11