-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1ebc24
commit c248b08
Showing
3 changed files
with
50 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
|
||
namespace AE.Net.Mail.Imap { | ||
public class Mailbox { | ||
public Mailbox() : this(string.Empty) { } | ||
public Mailbox(string name) { | ||
Name = ModifiedUtf7Encoding.Decode(name); | ||
Flags = new string[0]; | ||
} | ||
public virtual string Name { get; internal set; } | ||
public virtual int NumNewMsg { get; internal set; } | ||
public virtual int NumMsg { get; internal set; } | ||
public virtual int NumUnSeen { get; internal set; } | ||
public virtual string[] Flags { get; internal set; } | ||
public virtual bool IsWritable { get; internal set; } | ||
public class Mailbox { | ||
public Mailbox() : this(string.Empty) { } | ||
public Mailbox(string name) { | ||
Name = ModifiedUtf7Encoding.Decode(name); | ||
Flags = new string[0]; | ||
} | ||
public virtual string Name { get; internal set; } | ||
public virtual int NumNewMsg { get; internal set; } | ||
public virtual int NumMsg { get; internal set; } | ||
public virtual int NumUnSeen { get; internal set; } | ||
public virtual int UIDValidity { get; internal set; } | ||
public virtual string[] Flags { get; internal set; } | ||
public virtual bool IsWritable { get; internal set; } | ||
|
||
internal void SetFlags(string flags) { | ||
Flags = flags.Split(' '); | ||
} | ||
} | ||
internal void SetFlags(string flags) { | ||
Flags = flags.Split(' '); | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters