Class BehaviorRestEndpointRouteBuilderExtensions
Namespace: Cephalon.Behaviors.Http.Hosting
Assembly: Cephalon.Behaviors.Http.dll
Adds Minimal API helpers that route versioned REST endpoints into Cephalon behaviors.
public static class BehaviorRestEndpointRouteBuilderExtensionsInheritance
Section titled “Inheritance”object ← BehaviorRestEndpointRouteBuilderExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”MapBehaviorRestGroup(IEndpointRouteBuilder, IModule, string)
Section titled “ MapBehaviorRestGroup(IEndpointRouteBuilder, IModule, string)”Creates a REST-oriented behavior route group owned by the supplied module.
public static BehaviorRestEndpointGroup MapBehaviorRestGroup(this IEndpointRouteBuilder endpoints, IModule module, string prefix)Parameters
Section titled “Parameters”endpoints IEndpointRouteBuilder
The endpoint route builder receiving the group.
module IModule
The module that owns the endpoints.
prefix string
The route prefix relative to the enclosing endpoint builder.
Returns
Section titled “Returns”A behavior-aware route-group wrapper.