using System.Linq; namespace ScreenConnect; [Message(100, false)] public class ClientAnnotationMessage { public AnnotationOperationType OperationType { get; set; } public AnnotationShape Shape { get; set; } public CorePoint[] Points { get; set; } public int StrokeThickness { get; set; } public override string ToString() { return "Annotation: " + OperationType.ToString() + Shape.ToString() + ", Points: [" + (from p in Points.SafeEnumerate() select p.ToString()).Join(", ") + "], StrokeThickness: " + StrokeThickness; } }