2. Implement the interface methods
3. Off with interface methods
Why would an error
CodePudding user response:
Error message said very understand this instance you have no instantiation! Is empty!CodePudding user response:
Tips are already clear,, no instantiationCodePudding user response:
He will not prompt you to call in the same class instantiation, ha..CodePudding user response:
IUI get/set?? Then is not new to use?CodePudding user response:
See you this writing, do you want to use the Ioc did, but no configuration container, or is not configured for through property injection?CodePudding user response:
SQL is write wrong to pull, zha zha toCodePudding user response:
Cows break in life, don't need to explain - IUserinfo IUI=new the Userinfo ();CodePudding user response:
Class does not instantiateIf you need to configure the IOC
Need after startup configuration in using class dependency injection
CodePudding user response:
Autofac implementing an interface automatic injection, configuration has a problemCodePudding user response: