示例#1
0
        private GuidelineCollection GetColorSpecificGuidelines(GuidelineColor color)
        {
            var collection = new GuidelineCollection(guidelines.Where(g => g.Color == color), false);

            collection.colors[color] = colors[color];
            return(collection);
        }
示例#2
0
 /// <summary>Creates a new instance of the <seealso cref="Guideline"/> class.</summary>
 /// <param name="timeStamp">The timestamp of the guideline.</param>
 /// <param name="color">The color of the guideline.</param>
 public Guideline(decimal timeStamp, GuidelineColor color)
 {
     TimeStamp = (double)timeStamp;
     Color     = color;
 }
示例#3
0
 /// <summary>Creates a new instance of the <seealso cref="Guideline"/> class.</summary>
 /// <param name="timeStamp">The timestamp of the guideline.</param>
 /// <param name="color">The color of the guideline.</param>
 public Guideline(float timeStamp, GuidelineColor color)
 {
     TimeStamp = timeStamp;
     Color     = color;
 }
示例#4
0
 /// <summary>Creates a new instance of the <seealso cref="Guideline"/> class.</summary>
 /// <param name="timeStamp">The timestamp of the guideline.</param>
 /// <param name="color">The color of the guideline.</param>
 public Guideline(double timeStamp, GuidelineColor color)
 {
     TimeStamp = timeStamp;
     Color     = color;
 }