IServiceContainer.GetService Method

Name Parameters Description
GetService(Type, String, ServiceSearchMode, out Boolean) type, key, searchMode, serviceHasKey
GetService<T>(ServiceSearchMode) searchMode Performs a search for a service implementing the specified service interface.
GetService<T>(String, ServiceSearchMode) key, searchMode Performs a search for a service implementing the specified service interface with a specified key.
GetService<T>(String, ServiceSearchMode, out Boolean) key, searchMode, serviceHasKey For internal use.