←Select platform
In This Topic ▼

ServiceCollection Class Methods

Summary

For a list of all members of this type, see ServiceCollection members

Public Methods

Name Description
Public Method
Add Adds a service into the collection with a specific type.
Public Method Add<TService> Adds a service into the collection with a specific type.
Public Method Contains<TService> Checks whether a service of a given type exists in the collection.
Public Method Get Returns a service of a specific type.
Public Method Get<TService> Returns a service of a specific type.
Public Method GetEnumerator Returns an IEnumerator that loops through all the services in the collection.
Public Method Remove Removes a service from the collection with a given type.
Public Method Remove<TService> Removes a service from the collection with a given type.

Protected Methods

Name Description
Protected Method
OnAdded Raises the Added event.
Protected Method OnRemoved Raises the Removed event.

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly