Пример #1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            NoteText   obj  = (NoteText)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.text);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.fontInfo, false, null);
        }
Пример #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            NoteText  obj = (NoteText)(obj1 != null ? obj1 : bin.onObjectCreated(new NoteText()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.text = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.fontInfo = (EloixClient.IndexServer.FontInfo)bin.readObj(false, null);

            return(obj);
        }
Пример #3
0
 public NoteText(NoteText rhs)
 {
     this.fontInfoValue = rhs.fontInfoValue;
     this.textValue     = rhs.textValue;
 }