public MailTipsApplication(int traceId, ProxyAddress sendingAs, MailTipTypes mailTipTypes, IBudget callerBudget) : base(false) { this.traceId = traceId; this.sendingAs = sendingAs; this.mailTipTypes = mailTipTypes; this.callerBudget = callerBudget; }
internal void MarkAsUnavailable(MailTipTypes mailTipType) { lock (this.flagAccessSynchronizer) { this.unavailableMailTips |= mailTipType; this.pendingMailTips &= ~mailTipType; } }
private void MarkAsAvailable(MailTipTypes mailTipType) { lock (this.flagAccessSynchronizer) { this.unavailableMailTips &= ~mailTipType; this.pendingMailTips &= ~mailTipType; } }
internal MailTips(EmailAddress emailAddress, MailTipTypes unavailableMailTips, MailTipTypes pendingMailTips) { this.emailAddress = emailAddress; this.unavailableMailTips = unavailableMailTips; this.pendingMailTips = pendingMailTips; }
public bool IsAvailable(MailTipTypes mailTipType) { return((this.unavailableMailTips & mailTipType) == MailTipTypes.None); }