KestrunRuntimeApiAttribute constructor
Attribute to specify runtime API context and notes for Kestrun routes or schedules.
public KestrunRuntimeApiAttribute(KestrunApiContext contexts)
| parameter | description |
|---|---|
| contexts | The API contexts in which the route or schedule can be executed. |
Remarks
Initializes a new instance of the KestrunRuntimeApiAttribute class with the specified API contexts.
See Also
- enum KestrunApiContext
- class KestrunRuntimeApiAttribute
- namespace global