Closed stephenburrows closed 5 years ago
Class MessageHub contractor was private thus autofac could not create an instance set to public
This is by design. MessageHub is a singleton hence the private constructor.
MessageHub
You need to register MessageHub as an instance in AutoFac as explained HERE.
Class MessageHub contractor was private thus autofac could not create an instance set to public