Skip to content

RequestContext.Get(string)

Get(string)

static
View source
public static object? Get(string key)
Retrieves a value from the request context.

Parameters

keystring
The key for the value to be retrieved.

Returns

The value currently associated with the provided key, otherwise null if no data is present for that key.