public IntervalStartEndParameterPairForge( ExprOptionalConstantForge start, ExprOptionalConstantForge end) { Start = start; End = end; }
public static IntervalStartEndParameterPairForge FromParamsWithLongMaxEnd( ExprOptionalConstantForge[] parameters) { var start = parameters[0]; ExprOptionalConstantForge end; if (parameters.Length == 1) { end = ExprOptionalConstantForge.Make(long.MaxValue); } else { end = parameters[1]; } return new IntervalStartEndParameterPairForge(start, end); }