Table of Contents

Constructor RouteMetadataAttribute

Namespace
Sisk.Core.Routing
Assembly
Sisk.Core.dll

RouteMetadataAttribute(string, object?)

Initializes a new instance of the RouteMetadataAttribute class with the specified key and value.

public RouteMetadataAttribute(string key, object? value = null)

Parameters

key string

The key for the metadata.

value object

The value for the metadata. Defaults to null if not provided.