示例#1
0
 protected override void OnStart(string[] args)
 {
     _engine = new PublishingEngine();
     if (!_engine.Initialize(true))
     {
         this.Stop();
     }
 }
示例#2
0
        static void Test()
        {
            LogManager.Configure(new Logger());

            PublishingEngine publishEngine = new PublishingEngine();

            if (publishEngine.Initialize(false))
            {
                publishEngine.Execute();
            }
        }