コード例 #1
0
 /// <summary>
 /// Lazily registers the IThreadService
 /// </summary>
 /// <param name="service">Service to register.</param>
 public static void RegisterService(Func <IThreadService> service)
 {
     ServiceContainer.Register <IThreadService>(service);
     _registeredService     = null;
     _registeredServiceFunc = service;
 }