VariablesMap.GetVariablesMap method
Populates the provided dictionary with variables from the request context and shared state store.
public static bool GetVariablesMap(KestrunContext ctx, ref Dictionary<string, object?> vars)
| parameter | description |
|---|---|
| ctx | The Kestrun context containing request information. |
| vars | The dictionary to populate with variables. |
Return Value
True if variables were successfully mapped; otherwise, false.
See Also
- record KestrunContext
- class VariablesMap
- namespace Kestrun.Runtime