Adds a new service to the collection.
Namespace:
Bespoke.CommonAssembly: Bespoke.Common (in Bespoke.Common.dll) Version: 4.3.0.0 (4.3.0.0)
Syntax
C# |
---|
public void AddService<T>( T service ) |
Visual Basic (Declaration) |
---|
Public Sub AddService(Of T) ( _ service As T _ ) |
Visual C++ |
---|
public: generic<typename T> void AddService( T service ) |
Parameters
- service
- Type: T
[Missing <param name="service"/> documentation for "M:Bespoke.Common.ServiceContainer.AddService``1(``0)"]
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Bespoke.Common.ServiceContainer.AddService``1(``0)"]