Container.GetService(String) Container.GetService(String) Container.GetService(String) Container.GetService(String) Method

Definition

public:
generic <typename T>
 where T : class virtual T GetService(System::String ^ name);
public T GetService<T> (string name) where T : class;
abstract member GetService : string -> 'T (requires 'T : null)
override this.GetService : string -> 'T (requires 'T : null)
Public Function GetService(Of T As Class) (name As String) As T

Type Parameters

T

Parameters

Returns

T T T T

Implements

Applies to