示例#1
0
文件: Program.cs 项目: taztnc/PuzzleU
 static void Main(string[] args)
 {
     FileCollectorService service = new FileCollectorService();
     var host = new ServiceHost(service, new Uri[] { });
     host.Open();
     Console.WriteLine("Service started");
     while (Console.ReadKey().Key != ConsoleKey.F1) ;
 }
示例#2
0
 static void Main(string[] args)
 {
     FileCollectorService service = new FileCollectorService();
     //var host = new ServiceHost(service, new Uri[] { });
     //host.Open();
 }
示例#3
0
文件: Program.cs 项目: taztnc/PuzzleU
 static void Main(string[] args)
 {
     FileCollectorService service = new FileCollectorService();
     //var host = new ServiceHost(service, new Uri[] { });
     //host.Open();
 }