private static string GetName(CustomMetricEval eval, string name) { return(!string.IsNullOrWhiteSpace(name) ? name : $"Custom({eval.Method.Name})"); }
public CustomMetric (CustomMetricEval eval, string name = null, int num = 1) : base(GetName(eval, name), num) { _feval = eval; }