Subtext.Akismet.Comment.Comment C# (CSharp) Method

Comment() public method

Initializes a new instance of the Comment class.
public Comment ( IPAddress authorIpAddress, string authorUserAgent ) : System
authorIpAddress System.Net.IPAddress The author ip address.
authorUserAgent string The author user agent.
return System
        public Comment(IPAddress authorIpAddress, string authorUserAgent)
        {
            this.ipAddress = authorIpAddress;
            this.userAgent = authorUserAgent;
        }
Comment