Beispiel #1
0
 public BoundedInnerType(BoundedInnerType <T> other, ConfigurationVariable father) : base(other, father)
 {
     _lowest_value  = other._lowest_value;
     _highest_value = other._highest_value;
     minValue       = other.minValue;
     maxValue       = other.maxValue;
     _is_low_bound  = other._is_low_bound;
     _is_high_bound = other._is_high_bound;
 }
Beispiel #2
0
        public override void UpdateBy(InnerType <T> other)
        {
            BoundedInnerType <T> o = other as BoundedInnerType <T>;

            base.UpdateBy(o);
            LowestValue  = o.LowestValue;
            HighestValue = o.HighestValue;
            IsLowBound   = o.IsLowBound;
            IsHighBound  = o.IsHighBound;
        }