Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Alligator"/>.
 /// </summary>
 /// <param name="jaw">Jaw.</param>
 /// <param name="teeth">Teeth.</param>
 /// <param name="lips">Lips.</param>
 public Alligator(AlligatorLine jaw, AlligatorLine teeth, AlligatorLine lips)
     : base(jaw, teeth, lips)
 {
     Jaw   = jaw;
     Teeth = teeth;
     Lips  = lips;
 }
Пример #2
0
        internal GatorHistogram(AlligatorLine line1, AlligatorLine line2, bool isNegative)
        {
            if (line1 == null)
            {
                throw new ArgumentNullException("line1");
            }

            if (line2 == null)
            {
                throw new ArgumentNullException("line2");
            }

            _line1      = line1;
            _line2      = line2;
            _isNegative = isNegative;
        }
Пример #3
0
 internal GatorHistogram(AlligatorLine line1, AlligatorLine line2, bool isNegative)
 {
     _line1      = line1 ?? throw new ArgumentNullException(nameof(line1));
     _line2      = line2 ?? throw new ArgumentNullException(nameof(line2));
     _isNegative = isNegative;
 }