Bee Kea

Bee Kea

  • NA
  • 12
  • 523

Receiving Field is never assigned to warning

Aug 27 2021 5:28 PM

I am creating a Worker Service using .NET 5.  This service will loop through 4 calls with minute pauses in between each and then loop through them again.  I could write 4 services but I thought why not combined all four into one service.  There are four classes that are being utilized in this worker class.  The first has no warnings but the 2nd, 3rd, and 4th instanciations have a warning that they have a Null Reference. 

What is right with the first and wrong with the other three?

Also I am not sure I coded the logger with 5 parms correctly.  Lokks like it will require all 5 parms if I want to log just 1.  Duh makes sense.  What would be the proper form for a generic parameter or should I invoke 4 loggers?

Thank you in advance


Attachment: PullTelax.zip

Answers (1)