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

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 BehaviorRestEndpointRouteBuilderExtensions

objectBehaviorRestEndpointRouteBuilderExtensions

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

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)

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.

BehaviorRestEndpointGroup

A behavior-aware route-group wrapper.