/// <summary> /// Creates a new instance of the <see cref="TurbineControllerFactory"/> class. /// </summary> /// <param name="serviceLocator">The <see cref="IServiceLocator"/> to use when /// creating controllers.</param> public TurbineControllerFactory(IServiceLocator serviceLocator, IServiceReleaser serviceReleaser) { if (serviceLocator == null) { throw new ArgumentNullException("serviceLocator"); } ServiceLocator = serviceLocator; ServiceReleaser = serviceReleaser; }