You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SimonCropp
changed the title
Should throw an error Transport definition does not have a public empty constructor
Should throw an error Definition does not have a public empty constructor
Oct 24, 2014
For Transport, Logging and Persistence definitions.
since this
UseTransportExtensions.UseTransport<T>()
has anew()
constrainthttps://github.com/Particular/NServiceBus/blob/develop/src/NServiceBus.Core/Unicast/Transport/Config/UseTransportExtensions.cs#L15
then this
UseTransportExtensions.UseTransport(Type)
https://github.com/Particular/NServiceBus/blob/develop/src/NServiceBus.Core/Unicast/Transport/Config/UseTransportExtensions.cs#L28 should also verify that the type has a public constructor.
The text was updated successfully, but these errors were encountered: