Пример #1
0
 /// <summary>
 /// Adds the range.
 /// </summary>
 /// <param name="value">The value.</param>
 public void AddRange(DateLinePointCollection value)
 {
     for (int i = 0; (i < value.Count); i = (i + 1))
     {
         Add(value[i]);
     }
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateLinePointCollection"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 public DateLinePointCollection(DateLinePointCollection value)
 {
     AddRange(value);
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateLine"/> class.
 /// </summary>
 /// <param name="color">The color.</param>
 public DateLine(Color color)
     : base(color)
 {
     dateLinePointCollection = new DateLinePointCollection();
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateLinePointEnumerator"/> class.
 /// </summary>
 /// <param name="mappings">The mappings.</param>
 public DateLinePointEnumerator(DateLinePointCollection mappings)
 {
     temp           = ((IEnumerable)(mappings));
     baseEnumerator = temp.GetEnumerator();
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateLine"/> class.
 /// </summary>
 public DateLine()
     : base()
 {
     dateLinePointCollection = new DateLinePointCollection();
 }