public void Deserialize(Runtime.Serialization.IO.CompactReader reader) { _serversList = new Dictionary<int, Dom.CacheServer>(); int length = reader.ReadInt32(); for (int i = 0; i < length; i++) { int key = reader.ReadInt32(); ClientConfiguration.Dom.CacheServer value = reader.ReadObject() as ClientConfiguration.Dom.CacheServer; _serversList.Add(key, value); } }
public void Deserialize(Runtime.Serialization.IO.CompactReader reader) { _eventCounter = reader.ReadInt32(); _eventUniqueId = (string)reader.ReadObject(); _operationCounter = reader.ReadInt64(); _eventType = (EventType)reader.ReadInt32(); _queryId = (string)reader.ReadObject(); }
public void Deserialize(Runtime.Serialization.IO.CompactReader reader) { _entry = reader.ReadObject() as CacheEntry; _payLoadIndex = reader.ReadInt32(); }