public virtual void Deserialize(IPayloadReader reader) { this.Name = reader.ReadString("Name"); this.Index = reader.ReadInt16("Index"); this.ETag = reader.ReadObject <ETag>("ETag"); this.Attributes = reader.ReadObject <SharedAttributes>("Attributes", ReadObjectOption.Create); this.PropertyType = reader.ReadByte("PropertyType"); this.Value = reader.ReadString("Value"); }
public void Deserialize(IPayloadReader reader) { this.ObjectName = reader.ReadString("ObjectName"); this.ObjectId = reader.ReadGuid("ObjectId"); this.IsContainer = reader.ReadBoolean("IsContainer"); this.ETag = reader.ReadObject <ETag>("ETag"); this.Rules = reader.ReadList <SharedObjectAccessRule>("Rules"); }
public override void Deserialize(IPayloadReader reader) { base.Deserialize(reader); this.Attributes = reader.ReadObject<SharedAttributes>("Attributes", ReadObjectOption.Create); this.Type = reader.ReadString("Type"); this.IsDynamic = reader.ReadBoolean("IsDynamic"); List<SharedProperty> props = reader.ReadList<SharedProperty>("SharedProperties"); foreach (var prop in props) { this.SharedProperties.Add(prop.Index, prop); } }
public override void Deserialize(IPayloadReader reader) { base.Deserialize(reader); this.ObjectPayload = (ObjectPayload)reader.ReadObject("Object", Payload.CreateInstance); this.Mode = (ObjectMode)reader.ReadByte("Mode"); }
public override void Deserialize(IPayloadReader reader) { base.Deserialize(reader); this.ObjectPayload = (ObjectPayload)reader.ReadObject("Object", Payload.CreateInstance); this.Created = reader.ReadBoolean("Created"); }
public override void Deserialize(IPayloadReader reader) { base.Deserialize(reader); this.Parent = reader.ReadObject<ParentEntry>("Parent"); this.ObjectId = reader.ReadGuid("ObjectId"); this.ApplyPayload = reader.ReadBoolean("ApplyPayload"); this.OperationSequence = reader.ReadInt32("OperationSequence"); }
public override void Deserialize(IPayloadReader reader) { base.Deserialize(reader); this.PrincipalPayload = (ObjectPayload)reader.ReadObject("PrincipalPayload", Payload.CreateInstance); }
public override void Deserialize(IPayloadReader reader) { base.Deserialize(reader); this.SubscriptionId = reader.ReadString("SubscriptionId"); this.SharedObjectNamespace = reader.ReadString("SharedObjectNamespace"); this.SharedObjectNamespaceLifetime = (NamespaceLifetime)reader.ReadByte("SharedObjectNamespaceLifetime"); this.PrincipalPayload = (ObjectPayload)reader.ReadObject("PrincipalPayload", Payload.CreateInstance); this.SenderVersion = reader.ReadObject<ProtocolVersion>("Version"); }
public override void Deserialize(IPayloadReader reader) { base.Deserialize(reader); this.Action = (PayloadAction)reader.ReadByte("Action"); this.EntryId = reader.ReadGuid("EntryId"); this.Policy = (EvictionPolicy)reader.ReadObject("Policy", EvictionPolicy.Create); }
public override void Deserialize(IPayloadReader reader) { base.Deserialize(reader); this.SecurityAction = (PayloadAction)reader.ReadByte("SecurityAction"); this.SharedObjectSecurity = reader.ReadObject<SharedObjectSecurity>("Security"); }
public override void Deserialize(IPayloadReader reader) { base.Deserialize(reader); this.ETag = reader.ReadObject<ETag>("ETag"); this.ObjectId = reader.ReadGuid("ObjectId"); this.PropertyIndex = reader.ReadInt16("PropertyIndex"); this.PropertyName = reader.ReadString("PropertyName"); this.PropertyType = reader.ReadByte("PropertyType"); this.PropertyValue = reader.ReadString("PropertyValue"); }