#parameters in Constructor and DI

2 messages · Page 1 of 1 (latest)

dim phoenix
#

Is it possible to have a class that has a parameterized constructor and one or two injections?
say I want to initiate a class with parameters only, and I want to use a HttpService in it.

If not, how should I approach this?

jade condor
#

If you call new you must provide everything necessary. Period