Permalink
Browse files

mark the interface for ImapClient as disposable

  • Loading branch information...
1 parent dd1d576 commit e04da2342a94cadaeb805767f6208fec493d93e2 Nathan committed Nov 8, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 IImapClient.cs
  2. +1 −1 ImapClient.cs
View
@@ -3,7 +3,7 @@
namespace S22.Imap
{
- public interface IImapClient
+ public interface IImapClient: IDisposable
{
/// <summary>
/// The default mailbox to operate on, when no specific mailbox name was indicated
View
@@ -16,7 +16,7 @@ namespace S22.Imap {
/// Allows applications to communicate with a mail server by using the
/// Internet Message Access Protocol (IMAP).
/// </summary>
- public class ImapClient : IDisposable, IImapClient
+ public class ImapClient : IImapClient
{
private Stream stream;
private TcpClient client;

0 comments on commit e04da23

Please sign in to comment.