←Select platform

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.

See Also

ServiceCollection Class

Leadtools.Medical.Workstation Namespace

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

Leadtools.Medical.Workstation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.