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);
     }
 }
Ejemplo n.º 2
0
 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);
     }
 }