ข้ามไปยังเนื้อหา

Enum RestEndpointBindingSource

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll

Identifies which part of the HTTP request populates one resolved REST endpoint input binding.

[JsonConverter(typeof(JsonStringEnumConverter<RestEndpointBindingSource>))]
public enum RestEndpointBindingSource

RestEndpointBindingSourceExtensions.GetWireName(RestEndpointBindingSource)

Body = 4

Reads the value from the JSON request body.

Header = 3

Reads the value from an HTTP header.

Query = 2

Reads the value from the query string.

Route = 1

Reads the value from a route placeholder such as {orderId}.

Unspecified = 0

No explicit source has been selected.