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

Class RestEndpointBindingDescriptor

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

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

Describes one resolved request-binding rule for a public REST endpoint.

public sealed class RestEndpointBindingDescriptor

objectRestEndpointBindingDescriptor

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

RestEndpointBindingDescriptor(string, RestEndpointBindingSource, string?)

Section titled “ RestEndpointBindingDescriptor(string, RestEndpointBindingSource, string?)”

Creates a resolved REST endpoint binding descriptor.

public RestEndpointBindingDescriptor(string propertyName, RestEndpointBindingSource source, string? name = null)

propertyName string

The target request-model property name.

source RestEndpointBindingSource

The HTTP request source that supplies the value.

name string?

The route/query/header/body member name when one is available.

Gets the route/query/header/body member name when one is available.

public string? Name { get; }

string?

Gets the target request-model property name.

public string PropertyName { get; }

string

Gets the HTTP request source that supplies the value.

public RestEndpointBindingSource Source { get; }

RestEndpointBindingSource