示例#1
0
        public ISyncItem GetItem(ISyncItemId id, params PropertyDefinition[] specifiedPrefetchProperties)
        {
            this.CheckDisposed("GetItem");
            RecipientInfoCacheSyncItemId recipientInfoCacheSyncItemId = id as RecipientInfoCacheSyncItemId;

            if (recipientInfoCacheSyncItemId == null)
            {
                return(null);
            }
            if (this.FastCache.ContainsKey(recipientInfoCacheSyncItemId))
            {
                return(this.FastCache[recipientInfoCacheSyncItemId]);
            }
            return(null);
        }
示例#2
0
        // Token: 0x060016F0 RID: 5872 RVA: 0x00089B84 File Offset: 0x00087D84
        public override bool Equals(object syncItemId)
        {
            RecipientInfoCacheSyncItemId recipientInfoCacheSyncItemId = syncItemId as RecipientInfoCacheSyncItemId;

            return(recipientInfoCacheSyncItemId != null && this.cacheEntryId == recipientInfoCacheSyncItemId.cacheEntryId);
        }