Example #1
0
 public Formatter(ITaskItem item)
 {
     this.type            = (FormatterType)Enum.Parse(typeof(FormatterType), item.GetAttribute("Type"), true);
     this.outputDirectory = item.GetAttribute("OutputDirectory");
     this.fileNameFormat  = item.GetAttribute("FileNameFormat");
 }