Ejemplo n.º 1
0
 internal override void SetEntryId(DefaultFolderContext context, byte[] entryId)
 {
     byte[][] array  = this.GetLocationPropertyBag(context).TryGetProperty(this.Property) as byte[][];
     byte[][] array2 = Ex12MultivalueEntryIdStrategy.CreateMultiValuedPropertyValue(array, entryId, this.index, 6);
     if (array == null || array.Length <= 5)
     {
         uint value = ComputeCRC.Compute(0U, entryId);
         array2[5] = BitConverter.GetBytes(value);
     }
     base.SetEntryValueInternal(context, array2);
 }
 internal override void SetEntryId(DefaultFolderContext context, byte[] entryId)
 {
     byte[][] entryIds      = this.GetLocationPropertyBag(context).TryGetProperty(this.Property) as byte[][];
     byte[][] propertyValue = Ex12MultivalueEntryIdStrategy.CreateMultiValuedPropertyValue(entryIds, entryId, this.index, 4);
     base.SetEntryValueInternal(context, propertyValue);
 }