Table of Contents
API reference

Class DiscordIngressEndpointMetadata

Namespace
DisCatSharp.Hosting.AspNetCore.Routing
Assembly
DisCatSharp.Hosting.AspNetCore.dll

Describes a mapped DisCatSharp ingress endpoint.

public sealed class DiscordIngressEndpointMetadata
Inheritance
DiscordIngressEndpointMetadata
Inherited Members

Remarks

Instances of this type are attached as endpoint metadata so applications can inspect the logical DisCatSharp ingress surface without relying on route templates or display names.

Constructors

DiscordIngressEndpointMetadata(string, string, string)

Initializes a new instance of the DiscordIngressEndpointMetadata class.

Properties

EndpointName

Gets the stable endpoint name.

Module

Gets the logical ingress module that owns the endpoint.

RelativePath

Gets the route path relative to the ingress root.