internal Participant this[ConversionItemParticipants.ParticipantIndex index] { get { return(this[(int)index]); } set { this[(int)index] = value; } }
private void WriteTnefParticipant(TnefAttributeTag legacyTnefAttribute, ConversionItemParticipants.ParticipantIndex index) { Participant participant = this.addressCache.Participants[index]; if (ItemToTnefConverter.IsCompleteParticipant(participant)) { this.tnefWriter.StartAttribute(legacyTnefAttribute, TnefAttributeLevel.Message); EmbeddedParticipantProperty embeddedParticipantProperty = ConversionItemParticipants.GetEmbeddedParticipantProperty(index); this.tnefWriter.WriteProperty(embeddedParticipantProperty.EmailAddressPropertyDefinition, participant.EmailAddress); this.tnefWriter.WriteProperty(embeddedParticipantProperty.RoutingTypePropertyDefinition, participant.RoutingType); this.tnefWriter.WriteProperty(embeddedParticipantProperty.DisplayNamePropertyDefinition, string.IsNullOrEmpty(participant.DisplayName) ? participant.EmailAddress : participant.DisplayName); } }
internal static EmbeddedParticipantProperty GetEmbeddedParticipantProperty(ConversionItemParticipants.ParticipantIndex index) { return(ConversionItemParticipants.ParticipantEntries[(int)index].ParticipantProperty); }