Sisk

Constructor

RouteMetadataAttribute constructor

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.

C#
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.

Type to search the documentation and the API reference.