private static void Main(string[] args)
 {
     GGMApplication.Run(
         applicationClass: typeof(Program)
         , configPath: Path.Combine(Directory.GetCurrentDirectory(), "../../application.cfg")
         , args: args
         , serviceTypes: typeof(DemoService.Service.DemoService));
 }
示例#2
0
 public GGMApplicationTest()
 {
     _application = GGMApplication.Run(
         GetType()
         , "../../../application.cfg"
         , new string[] { }
         , typeof(ConstructorService)
         , typeof(NonConstructorService)
         );
 }
示例#3
0
 static void Main(string[] args)
 {
     GGMApplication.Run(typeof(Program), "./application.cfg", args, typeof(MyWebService));
 }