Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GatorOscillator"/>.
 /// </summary>
 /// <param name="alligator">Alligator.</param>
 /// <param name="histogram1">Top histogram.</param>
 /// <param name="histogram2">Lower histogram.</param>
 public GatorOscillator(Alligator alligator, GatorHistogram histogram1, GatorHistogram histogram2)
     : base(histogram1, histogram2)
 {
     _alligator = alligator ?? throw new ArgumentNullException(nameof(alligator));
     Histogram1 = histogram1;
     Histogram2 = histogram2;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GatorOscillator"/>.
 /// </summary>
 public GatorOscillator()
 {
     _alligator = new Alligator();
     Histogram1 = new GatorHistogram(_alligator.Jaw, _alligator.Lips, false);
     Histogram2 = new GatorHistogram(_alligator.Lips, _alligator.Teeth, true);
     InnerIndicators.Add(Histogram1);
     InnerIndicators.Add(Histogram2);
 }
Beispiel #3
0
		/// <summary>
		/// Initializes a new instance of the <see cref="GatorOscillator"/>.
		/// </summary>
		public GatorOscillator()
		{
			_alligator = new Alligator();
			Histogram1 = new GatorHistogram(_alligator.Jaw, _alligator.Lips, false);
			Histogram2 = new GatorHistogram(_alligator.Lips, _alligator.Teeth, true);
			InnerIndicators.Add(Histogram1);
			InnerIndicators.Add(Histogram2);
		}
Beispiel #4
0
		/// <summary>
		/// Initializes a new instance of the <see cref="GatorOscillator"/>.
		/// </summary>
		/// <param name="alligator">Alligator.</param>
		/// <param name="histogram1">Top histogram.</param>
		/// <param name="histogram2">Lower histogram.</param>
		public GatorOscillator(Alligator alligator, GatorHistogram histogram1, GatorHistogram histogram2)
			: base(histogram1, histogram2)
		{
			if (alligator == null)
				throw new ArgumentNullException(nameof(alligator));

			_alligator = alligator;
			Histogram1 = histogram1;
			Histogram2 = histogram2;
		}
        /// <summary>
        /// Создать <see cref="GatorOscillator"/>.
        /// </summary>
        /// <param name="alligator">Аллигатор.</param>
        /// <param name="histogram1">Верхняя гистограмма.</param>
        /// <param name="histogram2">Нижняя гистограмма.</param>
        public GatorOscillator(Alligator alligator, GatorHistogram histogram1, GatorHistogram histogram2)
            : base(histogram1, histogram2)
        {
            if (alligator == null)
            {
                throw new ArgumentNullException("alligator");
            }

            _alligator = alligator;
            Histogram1 = histogram1;
            Histogram2 = histogram2;
        }