public void UpdateGALLink(GALLinkState galLinkState, Guid?galLinkId, byte[] addressBookEntryId, string[] smtpAddressCache) { this.GALLinkState = galLinkState; this.GALLinkID = galLinkId; this.AddressBookEntryId = addressBookEntryId; this.SmtpAddressCache = smtpAddressCache; }
private static void ValidateGALLinkProperties(GALLinkState galLinkState, Guid?galLinkId, byte[] addressBookEntryId, string[] smtpAddressCache) { switch (galLinkState) { default: return; } }
public void ClearGALLink(GALLinkState galLinkState) { this.UpdateGALLink(galLinkState, null, null, Array <string> .Empty); }
protected ContactInfoForLinking(bool linked, PersonId personId, HashSet <PersonId> linkRejectHistory, Guid?galLinkID, byte[] addressBookEntryId, GALLinkState galLinkState, string[] smtpAddressCache, bool userApprovedLink) { Util.ThrowOnNullArgument(linkRejectHistory, "linkRejectHistory"); Util.ThrowOnNullArgument(smtpAddressCache, "smtpAddressCache"); if (personId == null) { this.personId = PersonId.CreateNew(); this.isDirty = true; } else { this.personId = personId; } this.linked = linked; this.linkRejectHistory = linkRejectHistory; this.galLinkID = galLinkID; this.addressBookEntryId = addressBookEntryId; this.galLinkState = galLinkState; this.smtpAddressCache = smtpAddressCache; this.userApprovedLink = userApprovedLink; }