Ejemplo n.º 1
0
 internal Participant this[ConversionItemParticipants.ParticipantIndex index]
 {
     get
     {
         return(this[(int)index]);
     }
     set
     {
         this[(int)index] = value;
     }
 }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
 internal static EmbeddedParticipantProperty GetEmbeddedParticipantProperty(ConversionItemParticipants.ParticipantIndex index)
 {
     return(ConversionItemParticipants.ParticipantEntries[(int)index].ParticipantProperty);
 }