blob: 9bf565c5eb602d908811dbe8e5ac172157ca7d4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
using System.Collections.Generic;
namespace IrcStates
{
public class ISupportChanModes
{
public ISupportChanModes(string splitVal)
{
if (splitVal == null) return;
var split = splitVal.Split(',', 4);
ListModes = new List<string> {split[0]};
SettingBModes = new List<string> {split[1]};
SettingCModes = new List<string> {split[2]};
SettingDModes = new List<string> {split[3]};
}
public List<string> ListModes { get; set; }
public List<string> SettingBModes { get; set; }
public List<string> SettingCModes { get; set; }
public List<string> SettingDModes { get; set; }
}
}
|