Class ClientRenderContext
Client rendering context.
Implements
Namespace: Neon.Blazor
Assembly: Neon.Blazor.dll
Syntax
public class ClientRenderContext : IRenderContext
Properties
IsClient
Whether the code is running on the client.
Declaration
public bool IsClient { get; }
Property Value
Type | Description |
---|---|
bool |
IsPrerendering
Whether the current request is prerendering.
Declaration
public bool IsPrerendering { get; }
Property Value
Type | Description |
---|---|
bool |
IsServer
Whether the code is running on the server.
Declaration
public bool IsServer { get; }
Property Value
Type | Description |
---|---|
bool |