Class BehaviorRestBindingDescriptor
Namespace: Cephalon.Behaviors.Http.Abstractions
Assembly: Cephalon.Behaviors.Http.dll
Describes one explicit request-source binding for a behavior input property on a metadata-only REST profile.
public sealed record BehaviorRestBindingDescriptor : IEquatable<BehaviorRestBindingDescriptor>Inheritance
Section titled “Inheritance”object ← BehaviorRestBindingDescriptor
Implements
Section titled “Implements”IEquatable<BehaviorRestBindingDescriptor>
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”BehaviorRestBindingDescriptor(string, BehaviorRestBindingSource, string?)
Section titled “ BehaviorRestBindingDescriptor(string, BehaviorRestBindingSource, string?)”Describes one explicit request-source binding for a behavior input property on a metadata-only REST profile.
public BehaviorRestBindingDescriptor(string PropertyName, BehaviorRestBindingSource Source, string? Name = null)Parameters
Section titled “Parameters”PropertyName string
The behavior input property that receives the bound value.
Source BehaviorRestBindingSource
The HTTP request source that supplies the value.
Name string?
The external route key, query-string key, header name, or body property name to read from. When
null, Cephalon falls back to PropertyName.
Properties
Section titled “Properties”The external route key, query-string key, header name, or body property name to read from. When
null, Cephalon falls back to PropertyName.
public string? Name { get; init; }Property Value
Section titled “Property Value”PropertyName
Section titled “ PropertyName”The behavior input property that receives the bound value.
public string PropertyName { get; init; }Property Value
Section titled “Property Value”Source
Section titled “ Source”The HTTP request source that supplies the value.
public BehaviorRestBindingSource Source { get; init; }