Прочетете на английски Редактиране

Споделяне чрез


HandleInitializationContext.GetExtension<T> Method

Definition

Retrieves the extension of the class.

C#
public T GetExtension<T>() where T : class;

Type Parameters

T

The class.

Returns

T

The extension of the class.

Applies to

Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1