コード例 #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
         Application.SetCompatibleTextRenderingDefault(false);
         var repository = new NHibernateRepository(Configure.SQLite());
         var accessPoint = new AccessPoint(new SimpliciTIDriver());
         var watchPool = new WatchPool();
         var watchDataSaver = new WatchDataSaver(repository, watchPool, accessPoint);
         var excelCreator = new SpreadsheetExporter();
         var gui = new Gui(repository, accessPoint, watchPool, watchDataSaver, excelCreator);
         Application.Run(gui);
 }
コード例 #2
0
 public void TestInitialize()
 {
     mockSimplicitiDriver = MockRepository.GenerateStub<ISimpliciTIDriver>();
     accessPoint = new AccessPoint(mockSimplicitiDriver);
 }