namespace Ant.Service.Utilities { /// /// This class represents the resulting Pop3 response from a STAT command /// executed against a Pop3 server. /// internal sealed class StatResponse : Pop3Response { private int _messageCount; /// /// Gets the message count. /// /// The message count. public int MessageCount { get { return _messageCount; } } private long _octets; /// /// Gets the octets. /// /// The octets. public long Octets { get { return _octets; } } /// /// Initializes a new instance of the class. /// /// The response. /// The message count. /// The octets. public StatResponse(Pop3Response response, int messageCount, long octets) : base(response.ResponseContents, response.HostMessage, response.StatusIndicator) { _messageCount = messageCount; _octets = octets; } } }