From a1e1922e62419de75d2909dfae1ee7caa9ed487f Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 16 May 2020 22:08:40 -0400 Subject: Add xmldocs, and handle null bytes --- IRCStates/ISupportPrefix.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'IRCStates/ISupportPrefix.cs') diff --git a/IRCStates/ISupportPrefix.cs b/IRCStates/ISupportPrefix.cs index 35c5344..146bdcc 100644 --- a/IRCStates/ISupportPrefix.cs +++ b/IRCStates/ISupportPrefix.cs @@ -7,6 +7,11 @@ namespace IRCStates { public class ISupportPrefix { + /// + /// Split the prefix value and add them to our known and + /// + /// + /// public ISupportPrefix(string splitVal) { if (splitVal == null) throw new ArgumentNullException(nameof(splitVal)); @@ -18,8 +23,8 @@ namespace IRCStates Prefixes.AddRange(split[1].Select(c => c.ToString(CultureInfo.InvariantCulture))); } - public List Modes { get; set; } - public List Prefixes { get; set; } + public List Modes { get; } + public List Prefixes { get; } public string FromMode(char mode) { -- cgit 1.4.1