コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TurbineServiceLocatorAbstractor"/> class.
 /// </summary>
 /// <param name="locator">The locator.</param>
 public TurbineServiceLocatorAbstractor(System.Abstract.IServiceLocator locator)
 {
     if (locator == null)
     {
         throw new ArgumentNullException("locator");
     }
     _locator   = locator;
     _registrar = locator.Registrar;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServiceLocatorLoadBalancerBootStrapper"/> class.
 /// </summary>
 /// <param name="locator">The locator.</param>
 protected ServiceLocatorLoadBalancerBootStrapper(System.Abstract.IServiceLocator locator)
     : base(locator)
 {
 }
コード例 #3
0
 public ServiceLocatorAdapter(System.Abstract.IServiceLocator locator)
 {
     _locator = locator;
 }