Container.GetServices<T> Method

Definition

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns all services of the specified type.

public:
generic <typename T>
 where T : class virtual System::Collections::Generic::IList<T> ^ GetServices();
public System.Collections.Generic.IList<T> GetServices<T> () where T : class;
abstract member GetServices : unit -> System.Collections.Generic.IList<'T (requires 'T : null)> (requires 'T : null)
override this.GetServices : unit -> System.Collections.Generic.IList<'T (requires 'T : null)> (requires 'T : null)
Public Function GetServices(Of T As Class) () As IList(Of T)

Type Parameters

T

The type of service to return.

Returns

IList<T>

Type: IList<T>

A list of services.

Implements

Applies to