Example #1
0
 public RealTimeInkSheetMessage(RealTimeInkSheetModel sheet, SheetMessage.SheetCollection collection) : base(sheet, collection)
 {
     using (Synchronizer.Lock(sheet.SyncRoot)) {
         this.CurrentDrawingAttributes = sheet.CurrentDrawingAttributes == null ? null
             : new DrawingAttributesSerializer(sheet.CurrentDrawingAttributes);
     }
 }
Example #2
0
 public RealTimeInkSheetMessage(Message parent, SerializedPacket p) : base(parent, p)
 {
     this.CurrentDrawingAttributes = (!SerializedPacket.IsNullPacket(p.PeekNextPart())) ?
                                     new DrawingAttributesSerializer(p.PeekNextPart()) : null; p.GetNextPart();
 }
 public RealTimeInkSheetMessage( Message parent, SerializedPacket p )
     : base(parent, p)
 {
     this.CurrentDrawingAttributes = (!SerializedPacket.IsNullPacket( p.PeekNextPart() )) ?
         new DrawingAttributesSerializer( p.PeekNextPart() ) : null; p.GetNextPart();
 }
 public RealTimeInkSheetMessage(RealTimeInkSheetModel sheet, SheetMessage.SheetCollection collection)
     : base(sheet, collection)
 {
     using(Synchronizer.Lock(sheet.SyncRoot)) {
         this.CurrentDrawingAttributes = sheet.CurrentDrawingAttributes == null ? null
             : new DrawingAttributesSerializer(sheet.CurrentDrawingAttributes);
     }
 }