Example #1
0
        public override void Validate()
        {
            base.Validate();


            if (StartValue.GetType() != typeof(int))
            {
                throw new Exception($"Invalid {nameof(StartValue)}.");
            }
            if (EndValue.GetType() != typeof(int))
            {
                throw new Exception($"Invalid {nameof(EndValue)}.");
            }
        }