/// <summary> /// Initializes a new instance of the <see cref="ServiceLocatorAdapter"/> class. /// </summary> /// <param name="serviceLocator"> /// The service Locator. If <c>null</c>, <see cref="Catel.IoC.ServiceLocator.Default"/> will be used. /// </param> public ServiceLocatorAdapter(IServiceLocator serviceLocator) { _serviceLocator = serviceLocator ?? IoC.ServiceLocator.Default; }