Class RestEndpointBindingDescriptor
Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll
Describes one resolved request-binding rule for a public REST endpoint.
public sealed class RestEndpointBindingDescriptorInheritance
Section titled “Inheritance”object ← RestEndpointBindingDescriptor
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”Gets the route/query/header/body member name when one is available.
public string? Name { get; }Property Value
Section titled “Property Value”PropertyName
Section titled “ PropertyName”Gets the target request-model property name.
public string PropertyName { get; }Property Value
Section titled “Property Value”Source
Section titled “ Source”Gets the HTTP request source that supplies the value.
public RestEndpointBindingSource Source { get; }