Example #1
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");
 }
Example #3
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);
     }
 }
Example #4
0
 public override void Deserialize(IPayloadReader reader)
 {
     base.Deserialize(reader);
     this.ObjectPayload = (ObjectPayload)reader.ReadObject("Object", Payload.CreateInstance);
     this.Created = reader.ReadBoolean("Created");
 }
Example #5
0
 public override void Deserialize(IPayloadReader reader)
 {
     base.Deserialize(reader);
     this.Name = reader.ReadString("Name");
     this.Id = reader.ReadGuid("Id");
     this.Created = reader.ReadBoolean("Created");
 }
Example #6
0
 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");
 }
Example #7
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");
 }