public ListOutputFormatter(StandardOutputEvents output, params string[] properties) { Output = output; Properties = new List <string>(properties); MaxLength = 0; foreach (var p in properties) { MaxLength = Math.Max(MaxLength, p.Length); } }
public ListOutputFormatter(StandardOutputEvents output, params string[] properties) { Output = output; Properties = new List<string>(properties); MaxLength = 0; foreach( var p in properties) { MaxLength = Math.Max(MaxLength, p.Length); } }