static void Main(string[] args) { var fabric = new ExamplesFabric(); ICreateFile example = fabric.GetExample <ICreateFile>(typeof(DocumentCreateBlankExample).Name); var filepath = example.CreateOne(); Process.Start(filepath).WaitForExit(); File.Delete(filepath); }
public PdfController(ICreateFile file) { _file = file; }
public HomeController(ICreateRandomArray randomArray, ICreateFile file) { this._randomArray = randomArray; this._file = file; }