コード例 #1
0
 /// <summary>
 /// Creates a new controller with profile p.
 /// </summary>
 /// <param name="p">What profile this controller should assume</param>
 public NetController(SocketProfile p)
 {
     _Profile = p;
     _Threads = new Dictionary<Guid, Target>();
     NetController.Instance = this;
 }
コード例 #2
0
 /// <summary>
 /// Creates a new controller with profile p.
 /// </summary>
 /// <param name="p">What profile this controller should assume</param>
 public NetController(SocketProfile p)
 {
     _Profile = p;
     _Threads = new Dictionary <Guid, Target>();
     NetController.Instance = this;
 }