Interface IRenderContext
Provides information about the rendering context.
Namespace: Neon.Blazor
Assembly: Neon.Blazor.dll
Syntax
public interface IRenderContext
Properties
IsClient
Whether the code is running on the client.
Declaration
bool IsClient { get; }
Property Value
Type | Description |
---|---|
bool |
IsPrerendering
Whether the current request is prerendering.
Declaration
bool IsPrerendering { get; }
Property Value
Type | Description |
---|---|
bool |
IsServer
Whether the code is running on the server.
Declaration
bool IsServer { get; }
Property Value
Type | Description |
---|---|
bool |