/// <summary> /// Accepts the type which will specify the users custom configuration. /// This type should implement <see cref="IConfigureThisEndpoint"/>. /// </summary> public InstallWindowsHost(Type endpointType, string[] args, string endpointName, IEnumerable <string> scannableAssembliesFullName) { var specifier = (IConfigureThisEndpoint)Activator.CreateInstance(endpointType); genericHost = new NServiceBus.GenericHost(specifier, args, new List <Type> { typeof(Production) }, endpointName, scannableAssembliesFullName); }
/// <summary> /// Accepts the type which will specify the users custom configuration. /// This type should implement <see cref="IConfigureThisEndpoint"/>. /// </summary> public InstallWindowsHost(Type endpointType, string[] args, string endpointName, IEnumerable<string> scannableAssembliesFullName) { var specifier = (IConfigureThisEndpoint)Activator.CreateInstance(endpointType); genericHost = new NServiceBus.GenericHost(specifier, args, new List<Type> { typeof(Production) }, endpointName, scannableAssembliesFullName); }