public static string GetStringValue(this NonZeroCountFunction nonZeroCountFunction)
        {
            switch (nonZeroCountFunction)
            {
            case NonZeroCountFunction.NonZeroCount:
                return("non_zero_count");

            case NonZeroCountFunction.LowNonZeroCount:
                return("low_non_zero_count");

            case NonZeroCountFunction.HighNonZeroCount:
                return("high_non_zero_count");

            default:
                throw new ArgumentOutOfRangeException(nameof(nonZeroCountFunction), nonZeroCountFunction, null);
            }
        }
 public NonZeroCountDetectorDescriptor(NonZeroCountFunction function) : base(function.GetStringValue())
 {
 }
 protected NonZeroCountDetectorBase(NonZeroCountFunction function) : base(function.GetStringValue())
 {
 }