internal void DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool) { StringData stringDataInstance = componentDataPool.GetStringDataInstance(); stringDataInstance.DeserializeData(reader, componentDataPool); if (string.IsNullOrEmpty(stringDataInstance.Data)) { throw new CorruptSyncStateException(new LocalizedString("[MeetingOrganizerEntry.DeserializeData] deserialized Uid was null or empty."), null); } this.CleanGlobalObjectId = new GlobalObjectId(stringDataInstance.Data); DateTimeData dateTimeDataInstance = componentDataPool.GetDateTimeDataInstance(); dateTimeDataInstance.DeserializeData(reader, componentDataPool); this.EntryTime = (DateTime)dateTimeDataInstance.Data; StringData stringDataInstance2 = componentDataPool.GetStringDataInstance(); stringDataInstance2.DeserializeData(reader, componentDataPool); this.Organizer = stringDataInstance2.Data; NullableData <BooleanData, bool> nullableData = new NullableData <BooleanData, bool>(); nullableData.DeserializeData(reader, componentDataPool); this.IsOrganizer = nullableData.Data; StringData stringDataInstance3 = componentDataPool.GetStringDataInstance(); stringDataInstance3.DeserializeData(reader, componentDataPool); this.Subject = stringDataInstance3.Data; }
public void DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool) { this.calendarItem = reader.ReadBoolean(); DateTimeData dateTimeDataInstance = componentDataPool.GetDateTimeDataInstance(); dateTimeDataInstance.DeserializeData(reader, componentDataPool); this.endTime = dateTimeDataInstance.Data; this.recurring = reader.ReadBoolean(); this.doesRecurrenceEnd = reader.ReadBoolean(); }
public void DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool) { GenericDictionaryData <DerivedData <RecipientInfoCacheSyncItemId>, RecipientInfoCacheSyncItemId, Int64Data, long> genericDictionaryData = new GenericDictionaryData <DerivedData <RecipientInfoCacheSyncItemId>, RecipientInfoCacheSyncItemId, Int64Data, long>(); genericDictionaryData.DeserializeData(reader, componentDataPool); this.cacheEntryIdToLastUpdateTime = genericDictionaryData.Data; DateTimeData dateTimeData = new DateTimeData(); dateTimeData.DeserializeData(reader, componentDataPool); this.lastModifiedTime = dateTimeData.Data; }
// Token: 0x060016D3 RID: 5843 RVA: 0x0008983C File Offset: 0x00087A3C public void DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool) { DateTimeData dateTimeDataInstance = componentDataPool.GetDateTimeDataInstance(); dateTimeDataInstance.DeserializeData(reader, componentDataPool); this.ReceivedDateUtc = dateTimeDataInstance.Data; ByteArrayData byteArrayInstance = componentDataPool.GetByteArrayInstance(); byteArrayInstance.DeserializeData(reader, componentDataPool); this.IcsState = byteArrayInstance.Data; this.ChangeNumber = reader.ReadInt32(); }
// Token: 0x0600056E RID: 1390 RVA: 0x0002058C File Offset: 0x0001E78C internal void DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool) { lock (this.instanceLock) { GenericListData <DateTimeData, ExDateTime> genericListData = new GenericListData <DateTimeData, ExDateTime>(); genericListData.DeserializeData(reader, componentDataPool); this.userAgentTimes = genericListData.Data; GenericListData <StringData, string> genericListData2 = new GenericListData <StringData, string>(); genericListData2.DeserializeData(reader, componentDataPool); this.userAgentStrings = genericListData2.Data; GenericListData <DateTimeData, ExDateTime> genericListData3 = new GenericListData <DateTimeData, ExDateTime>(); genericListData3.DeserializeData(reader, componentDataPool); this.recentCommandTimes = genericListData3.Data; GenericListData <Int32Data, int> genericListData4 = new GenericListData <Int32Data, int>(); genericListData4.DeserializeData(reader, componentDataPool); this.recentCommandHashCodes = genericListData4.Data; GenericListData <DateTimeData, ExDateTime> genericListData5 = new GenericListData <DateTimeData, ExDateTime>(); genericListData5.DeserializeData(reader, componentDataPool); this.watsons = genericListData5.Data; GenericListData <DateTimeData, ExDateTime> genericListData6 = new GenericListData <DateTimeData, ExDateTime>(); genericListData6.DeserializeData(reader, componentDataPool); this.outOfBudgets = genericListData6.Data; GenericListData <DateTimeData, ExDateTime> genericListData7 = new GenericListData <DateTimeData, ExDateTime>(); genericListData7.DeserializeData(reader, componentDataPool); this.syncTimes = genericListData7.Data; GenericListData <Int32Data, int> genericListData8 = new GenericListData <Int32Data, int>(); genericListData8.DeserializeData(reader, componentDataPool); this.syncKeys = genericListData8.Data; DateTimeData dateTimeDataInstance = componentDataPool.GetDateTimeDataInstance(); dateTimeDataInstance.DeserializeData(reader, componentDataPool); this.blockTime = dateTimeDataInstance.Data; DateTimeData dateTimeDataInstance2 = componentDataPool.GetDateTimeDataInstance(); dateTimeDataInstance2.DeserializeData(reader, componentDataPool); this.nextUnblockTime = dateTimeDataInstance2.Data; Int32Data int32DataInstance = componentDataPool.GetInt32DataInstance(); int32DataInstance.DeserializeData(reader, componentDataPool); this.autoBlockReason = (DeviceAccessStateReason)int32DataInstance.Data; DateTimeData dateTimeDataInstance3 = componentDataPool.GetDateTimeDataInstance(); dateTimeDataInstance3.DeserializeData(reader, componentDataPool); this.timeToUpdateAD = dateTimeDataInstance3.Data; if (!this.Validate()) { throw new CorruptSyncStateException(new LocalizedString("DeviceBehavior.DeserializeData"), null); } } }
internal void DeserializeData(BinaryReader reader, ComponentDataPool componentDataPool) { lock (this.instanceLock) { DateTimeData dateTimeDataInstance = componentDataPool.GetDateTimeDataInstance(); dateTimeDataInstance.DeserializeData(reader, componentDataPool); this.LastCleanTime = dateTimeDataInstance.Data; GenericDictionaryData <StringData, string, MeetingOrganizerEntryData, MeetingOrganizerEntry> genericDictionaryData = new GenericDictionaryData <StringData, string, MeetingOrganizerEntryData, MeetingOrganizerEntry>(); genericDictionaryData.DeserializeData(reader, componentDataPool); this.map = genericDictionaryData.Data; this.IsDirty = false; if (this.LastCleanTime - (ExDateTime)TimeProvider.UtcNow > MeetingOrganizerInfo.AllowedClockSkew) { throw new CorruptSyncStateException(new LocalizedString("DeviceBehavior.DeserializeData"), null); } this.CleanIfNecessary(); } }