Start() public method

public Start ( ) : void
return void
コード例 #1
0
        public void TestFixtureSetUp()
        {
            inboxPath  = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "inbox");
            outboxPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "outbox");
            if (!Directory.Exists(inboxPath))
            {
                Directory.CreateDirectory(inboxPath);
            }
            if (!Directory.Exists(outboxPath))
            {
                Directory.CreateDirectory(outboxPath);
            }
            ConfigurationManager.AppSettings["inbox"]  = inboxPath;
            ConfigurationManager.AppSettings["outbox"] = outboxPath;

            service = new MockJobManagerService(inboxPath, outboxPath);
            service.Start();
        }
コード例 #2
0
        public void TestFixtureSetUp()
        {
            inboxPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "inbox");
            outboxPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "outbox");
            if (!Directory.Exists(inboxPath))
            {
                Directory.CreateDirectory(inboxPath);
            }
            if (!Directory.Exists(outboxPath))
            {
                Directory.CreateDirectory(outboxPath);
            }
            ConfigurationManager.AppSettings["inbox"] = inboxPath;
            ConfigurationManager.AppSettings["outbox"] = outboxPath;

            service = new MockJobManagerService(inboxPath, outboxPath);
            service.Start();
        }