private string CreateLabel(string column) { if (channelUnitMap.ContainsKey(column)) { var val = channelUnitMap[column]; if (val != null) { return($"{column}({val})"); } } return(column); }
private string CreateLabel(string column) { if (channelUnitMap.ContainsKey(column)) { var val = channelUnitMap[column]; if (!string.IsNullOrEmpty(val)) { return($"{column}({val})"); } } return(column); }