KeyedServiceCollection<TKey,TService>.GetServices Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets all services from this collection.
public System.Collections.Generic.IEnumerable<Orleans.Runtime.IKeyedService<TKey,TService>> GetServices (IServiceProvider services);
abstract member GetServices : IServiceProvider -> seq<Orleans.Runtime.IKeyedService<'Key, 'Service>>
override this.GetServices : IServiceProvider -> seq<Orleans.Runtime.IKeyedService<'Key, 'Service>>
Public Function GetServices (services As IServiceProvider) As IEnumerable(Of IKeyedService(Of TKey, TService))
Parameters
- services
- IServiceProvider
The service provider.
Returns
IEnumerable<IKeyedService<TKey,TService>>
All registered services with the given key type.