C# 클래스 Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionExtensions

Extension methods for ApiDescription.
파일 보기 프로젝트 열기: lodejard/AllNetCore

공개 메소드들

메소드 설명
GetProperty ( Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription apiDescription ) : T

Gets the value of a property from the ApiDescription.Properties collection using the provided value of T as the key.

SetProperty ( Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription apiDescription, value ) : void

Sets the value of an property in the ApiDescription.Properties collection using the provided value of T as the key.

메소드 상세

GetProperty() 공개 정적인 메소드

Gets the value of a property from the ApiDescription.Properties collection using the provided value of T as the key.
public static GetProperty ( Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription apiDescription ) : T
apiDescription Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription The .
리턴 T

SetProperty() 공개 정적인 메소드

Sets the value of an property in the ApiDescription.Properties collection using the provided value of T as the key.
public static SetProperty ( Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription apiDescription, value ) : void
apiDescription Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription The .
value The value of the property.
리턴 void