internal ContactEmailSlotParticipantProperty(EmailAddressIndex emailAddressIndex, NativeStorePropertyDefinition displayNamePropertyDefinition, NativeStorePropertyDefinition emailAddressPropertyDefinition, NativeStorePropertyDefinition routingTypePropertyDefinition, NativeStorePropertyDefinition entryIdPropertyDefinition, NativeStorePropertyDefinition emailAddressForDisplayPropertyDefinition, params PropertyDependency[] additionalDependencies) : base("Contact" + emailAddressIndex.ToString(), ParticipantEntryIdConsumer.ContactEmailSlot, displayNamePropertyDefinition, emailAddressPropertyDefinition, routingTypePropertyDefinition, entryIdPropertyDefinition, null, null, null, null, EmbeddedParticipantProperty.GetDependencies(additionalDependencies, new NativeStorePropertyDefinition[]
 {
     InternalSchema.EntryId,
     emailAddressForDisplayPropertyDefinition
 }))
 {
     this.emailAddressForDisplayPropDef = emailAddressForDisplayPropertyDefinition;
     this.emailAddressIndex             = emailAddressIndex;
 }
Пример #2
0
 protected EmbeddedParticipantProperty(string displayName, ParticipantEntryIdConsumer entryIdConsumer, NativeStorePropertyDefinition displayNamePropertyDefinition, NativeStorePropertyDefinition emailAddressPropertyDefinition, NativeStorePropertyDefinition routingTypePropertyDefinition, NativeStorePropertyDefinition entryIdPropertyDefinition, NativeStorePropertyDefinition smtpAddressPropertyDefinition, NativeStorePropertyDefinition sipUriPropertyDefinition, NativeStorePropertyDefinition sidPropertyDefinition, NativeStorePropertyDefinition guidPropertyDefinition, params PropertyDependency[] additionalDependencies) : base(displayName, typeof(Participant), PropertyFlags.None, Array <PropertyDefinitionConstraint> .Empty, EmbeddedParticipantProperty.GetDependencies(additionalDependencies, new NativeStorePropertyDefinition[]
 {
     displayNamePropertyDefinition,
     emailAddressPropertyDefinition,
     routingTypePropertyDefinition,
     entryIdPropertyDefinition,
     smtpAddressPropertyDefinition,
     sipUriPropertyDefinition,
     sidPropertyDefinition,
     guidPropertyDefinition
 }))
 {
     this.entryIdConsumer     = entryIdConsumer;
     this.displayNamePropDef  = displayNamePropertyDefinition;
     this.emailAddressPropDef = emailAddressPropertyDefinition;
     this.routingTypePropDef  = routingTypePropertyDefinition;
     this.entryIdPropDef      = entryIdPropertyDefinition;
     this.smtpAddressPropDef  = smtpAddressPropertyDefinition;
     this.sipUriPropDef       = sipUriPropertyDefinition;
     this.sidPropDef          = sidPropertyDefinition;
     this.guidPropDef         = guidPropertyDefinition;
 }