コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TimeIntervalAnnotationDisplayData"/> class.
 /// </summary>
 /// <param name="parent">The annotations visualization object that owns this display data instance.</param>
 /// <param name="annotationSetMessage">The annotation set message.</param>
 /// <param name="track">The track name.</param>
 /// <param name="trackIndex">The track index.</param>
 /// <param name="annotationSchema">The annotation schema.</param>
 public TimeIntervalAnnotationDisplayData(
     TimeIntervalAnnotationVisualizationObject parent,
     Message <TimeIntervalAnnotationSet> annotationSetMessage,
     string track,
     int trackIndex,
     AnnotationSchema annotationSchema)
 {
     this.parent = parent;
     this.annotationSetMessage = annotationSetMessage;
     this.Track            = track;
     this.TrackIndex       = trackIndex;
     this.AnnotationSchema = annotationSchema;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TimeIntervalAnnotationDisplayData"/> class.
 /// </summary>
 /// <param name="parent">The annotations visualization object that owns this display data instance.</param>
 /// <param name="annotation">The annotation event.</param>
 /// <param name="definition">The annotation definition.</param>
 public TimeIntervalAnnotationDisplayData(TimeIntervalAnnotationVisualizationObject parent, Message <TimeIntervalAnnotation> annotation, AnnotationDefinition definition)
 {
     this.parent     = parent;
     this.Annotation = annotation;
     this.Definition = definition;
 }