示例#1
0
 public void Loop(IRawServer rawServer)
 {
     this.rawServer     = rawServer;
     this.taskDelegates = new List <TaskDelegate>();
     taskDelegates.Add(Raw);
     rawServer.AddTask(Raw, 0.1, string.Empty);
 }
示例#2
0
 private void Raw()
 {
     rawServer.AddTask(taskDelegates[0], 0.1, string.Empty);
 }