Пример #1
0
 public Labeled(T Subject, string Label, LabelFormatSpec FormatSpec, Func <T, string> formatter = null)
 {
     this.Subject    = Subject;
     this.Label      = Label;
     this.FormatSpec = FormatSpec;
     this.Formatter  = formatter;
 }
Пример #2
0
 public static Labeled <T> Label <T>(T subject, string label, LabelFormatSpec format)
 => new Labeled <T>(subject, label, format);