Exemple #1
0
 // Token: 0x06001382 RID: 4994 RVA: 0x00070698 File Offset: 0x0006E898
 public override void Bind(RecipientInfoCacheEntry entry)
 {
     if (entry == null)
     {
         throw new ArgumentNullException("Entry is null!");
     }
     foreach (IProperty property in this.propertyFromSchemaLinkId)
     {
         RecipientInfoCacheProperty recipientInfoCacheProperty = (RecipientInfoCacheProperty)property;
         recipientInfoCacheProperty.Bind(entry);
     }
 }
Exemple #2
0
        // Token: 0x06001384 RID: 4996 RVA: 0x000706FC File Offset: 0x0006E8FC
        public override void CopyFrom(IProperty srcRootProperty)
        {
            IPropertyContainer propertyContainer = srcRootProperty as IPropertyContainer;

            if (propertyContainer == null)
            {
                throw new ArgumentNullException("srcPropertyContainer");
            }
            propertyContainer.SetCopyDestination(this);
            foreach (IProperty property in propertyContainer.Children)
            {
                RecipientInfoCacheProperty recipientInfoCacheProperty = (RecipientInfoCacheProperty)this.propertyFromSchemaLinkId[property.SchemaLinkId];
                recipientInfoCacheProperty.CopyFrom(property);
            }
        }