Skip to content

How to inject CSLA classes into a class library of a Quartz project? #3923

Discussion options

You must be logged in to vote

@rockfordlhotka,

After making all the service registrations, I added this line of code:
builder.Services.AddCsla();

And magically, the following line worked and stopped returning null:

var cslaFactory = scope.ServiceProvider.GetService<IDataPortal>();
Thank you very much for the help.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@rockfordlhotka
Comment options

@ecaldentey
Comment options

@rockfordlhotka
Comment options

@ecaldentey
Comment options

Answer selected by rockfordlhotka
Comment options

You must be logged in to vote
1 reply
@ecaldentey
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants