ApiDescriptionExtensions.GetProperty<T>(ApiDescription) 메서드

정의

제공된 값을 키로 사용하여 컬렉션에서 Properties 속성의 T 값을 가져옵니다.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static T GetProperty(Microsoft::AspNetCore::Mvc::ApiExplorer::ApiDescription ^ apiDescription);
public static T GetProperty<T> (this Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription apiDescription);
public static T? GetProperty<T> (this Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription apiDescription);
static member GetProperty : Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription -> 'T
<Extension()>
Public Function GetProperty(Of T) (apiDescription As ApiDescription) As T

형식 매개 변수

T

속성의 형식입니다.

매개 변수

반환

T

속성 또는 의 기본값입니다 T.

적용 대상