public IEnumerable<TypeSpecification> OnGetImplementations(TypeSpecification interfaceType) { var handler = GetImplementations; if (handler != null) { return handler(interfaceType); } return null; }
/// <summary> /// Gets the implementations to test /// </summary> /// <param name="interfaceType">Type of the interface.</param> /// <returns>IEnumerable{TypeSpecification}.</returns> public IEnumerable<TypeSpecification> GetImplementations(TypeSpecification interfaceType) { var host = _dependencyResolver.Resolve<IUIServiceHost>(); return host.OnGetImplementations(interfaceType); }