Adds a new service to the provider collection.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Type or Provider is null |
ArgumentException | Provider not assignable to type |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)