private GuidelineCollection GetColorSpecificGuidelines(GuidelineColor color) { var collection = new GuidelineCollection(guidelines.Where(g => g.Color == color), false); collection.colors[color] = colors[color]; return(collection); }
/// <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; }
/// <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; }
/// <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; }