Example #1
0
 public AclAccessInfo(AclAccessInfo rhs)
 {
     this.aclValue      = rhs.aclValue;
     this.aclItemsValue = rhs.aclItemsValue;
     this.objIdValue    = rhs.objIdValue;
     this.parentIdValue = rhs.parentIdValue;
 }
Example #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            AclAccessInfo obj  = (AclAccessInfo)obj1;
            BOutputBin    bout = (BOutputBin)bout1;
            BBufferBin    bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.acl);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.objId);
            if (version >= 800000032000010L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putString(obj.parentId);
            }
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.aclItems, false, EloixClient.IndexServer.BSerializer_1944875656.instance);
        }
Example #3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin     bin = (BInputBin)bin1;
            AclAccessInfo obj = (AclAccessInfo)(obj1 != null ? obj1 : bin.onObjectCreated(new AclAccessInfo()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.acl = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.objId = bbuf.getString();
            if (version >= 800000032000010L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.parentId = bbuf.getString();
            }
            // checkpoint byps.gen.cs.PrintContext:449
            obj.aclItems = (EloixClient.IndexServer.AclItem[])bin.readObj(false, EloixClient.IndexServer.BSerializer_1944875656.instance);

            return(obj);
        }