Closed trampster closed 3 years ago
I have type that takes a Func<CallInfo, ISession> as a constructor argument.
I have injected it using a Factory in a module
[Factory] public Func<CallInfo, ISession> CreateSessionFactory() { .... }
However I'm getting the following error:
Error while resolving dependencies for Pttox.Core.Services.ILinkHandler: we have no source for instance of type 'Pttox.Core.Services.ISession'
This is odd for several reasons,
I was missing Static there was a warning but was hidden by all the errors.
I have type that takes a Func<CallInfo, ISession> as a constructor argument.
I have injected it using a Factory in a module
However I'm getting the following error:
This is odd for several reasons,