TypeProviderlink
Configures the Injector
to return an instance of Type
when `Type' is used as the token.
说明
Create an instance by invoking the new
operator and supplying additional arguments. This form is a short form of TypeProvider
;
For more details, see the "Dependency Injection Guide".