IrcDotNet.IrcServerVersionInfoEventArgs.IrcServerVersionInfoEventArgs C# (CSharp) Method

IrcServerVersionInfoEventArgs() public method

Initializes a new instance of the IrcServerVersionInfoEventArgs class.
public IrcServerVersionInfoEventArgs ( string version, string debugLevel, string serverName, string comments ) : System.Net.Security
version string The version of the server.
debugLevel string The debug level of the server.
serverName string The name of the server.
comments string The comments about the server.
return System.Net.Security
        public IrcServerVersionInfoEventArgs(string version, string debugLevel, string serverName, string comments)
        {
            if (version == null)
                throw new ArgumentNullException("version");
            if (debugLevel == null)
                throw new ArgumentNullException("debugLevel");
            if (serverName == null)
                throw new ArgumentNullException("serverName");
            if (comments == null)
                throw new ArgumentNullException("comments");

            Version = version;
            DebugLevel = debugLevel;
            ServerName = serverName;
            Comments = comments;
        }
IrcServerVersionInfoEventArgs