Esempio n. 1
0
 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");
 }
Esempio n. 2
0
 public void Deserialize(IPayloadReader reader)
 {
     this.IdentityReference = reader.ReadString("IdentityReference");
     this.AccessMask        = reader.ReadInt32("AccessMask");
     this.IsInherited       = reader.ReadBoolean("IsInherited");
     this.InheritanceFlags  = (InheritanceFlags)reader.ReadInt32("InheritanceFlags");
     this.AccessControlType = (AccessControlType)reader.ReadInt32("AccessControlType");
 }
 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");
 }
Esempio n. 4
0
 public override void Deserialize(IPayloadReader reader)
 {
     base.Deserialize(reader);
     this.Id = reader.ReadGuid("Id");
     this.Name = reader.ReadString("Name");
 }
Esempio n. 5
0
        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");
        }
Esempio n. 6
0
 public override void Deserialize(IPayloadReader reader)
 {
     base.Deserialize(reader);
     this.Message = reader.ReadString("Message");
 }
Esempio n. 7
0
 public override void Deserialize(IPayloadReader reader)
 {
     base.Deserialize(reader);
     this.CollectionId = reader.ReadGuid("CollectionId");
     this.CollectionName = reader.ReadString("CollectionName");
 }
Esempio n. 8
0
 public override void Deserialize(IPayloadReader reader)
 {
     base.Deserialize(reader);
     this.PropertyIndex = reader.ReadInt16("PropertyIndex");
     this.PropertyName = reader.ReadString("PropertyName");
 }
Esempio n. 9
0
 public override void Deserialize(IPayloadReader reader)
 {
     base.Deserialize(reader);
     this.Error = (Error)reader.ReadByte("Error");
     this.Name = reader.ReadString("Name");
     this.Description = reader.ReadString("Description");
 }
Esempio n. 10
0
 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");
 }
Esempio n. 11
0
 public void Deserialize(IPayloadReader reader)
 {
     this.Sequence    = reader.ReadInt64("Sequence");
     this.ChannelName = reader.ReadString("ChannelName");
     this.Payloads    = reader.ReadList <Payload>("Payloads", Payload.CreateInstance).ToArray();
 }
Esempio n. 12
0
 public override void Deserialize(IPayloadReader reader)
 {
     base.Deserialize(reader);
     this.TimestampPropertyName = reader.ReadString("TimestampPropertyName");
     this.MaxObjectDuration = new TimeSpan(reader.ReadInt64("MaxObjectDuration"));
 }
Esempio n. 13
0
 public override void Deserialize(IPayloadReader reader)
 {
     base.Deserialize(reader);
     this.TimestampPropertyName = reader.ReadString("TimestampPropertyName");
     this.MaxObjectDuration     = new TimeSpan(reader.ReadInt64("MaxObjectDuration"));
 }
Esempio n. 14
0
 public void Deserialize(IPayloadReader reader)
 {
     this.Sequence = reader.ReadInt64("Sequence");
     this.ChannelName = reader.ReadString("ChannelName");
     this.Payloads = reader.ReadList<Payload>("Payloads", Payload.CreateInstance).ToArray();
 }
Esempio n. 15
0
 public override void Deserialize(IPayloadReader reader)
 {
     base.Deserialize(reader);
     this.Type = reader.ReadString("Type");
     this.Mode = (ObjectMode)reader.ReadByte("Mode");
     this.CollectionType = (CollectionType)reader.ReadByte("CollectionType");
 }
Esempio n. 16
0
        public override void Deserialize(IPayloadReader reader)
        {
            base.Deserialize(reader);

            this.AtomicOperator = (AtomicOperators)reader.ReadByte("Operator");
            this.ObjectId = reader.ReadGuid("ObjectId");
            this.PropertyIndex = reader.ReadInt16("PropertyIndex");
            this.PropertyType = reader.ReadString("PropertyType");
            this.Parameters = reader.ReadStringArray("Parameters");
        }
Esempio n. 17
0
 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);
     }
 }
Esempio n. 18
0
 public void Deserialize(IPayloadReader reader)
 {         
     this.IdentityReference = reader.ReadString("IdentityReference");
     this.AccessMask = reader.ReadInt32("AccessMask");
     this.IsInherited = reader.ReadBoolean("IsInherited");
     this.InheritanceFlags = (InheritanceFlags)reader.ReadInt32("InheritanceFlags");
     this.AccessControlType = (AccessControlType)reader.ReadInt32("AccessControlType");
 }