Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public PdfController(ICreateFile file)
 {
     _file = file;
 }
Ejemplo n.º 3
0
 public HomeController(ICreateRandomArray randomArray, ICreateFile file)
 {
     this._randomArray = randomArray;
     this._file        = file;
 }