27 lines
913 B
Plaintext
27 lines
913 B
Plaintext
@inherits ErrorBoundary
|
|
|
|
<DynamicComponent Type="@ComponentType" Parameters="@Parameters"></DynamicComponent>
|
|
|
|
@code {
|
|
Type ComponentType = Type.GetType("Oqtane.App, Oqtane.Client");
|
|
private IDictionary<string, object> Parameters { get; set; }
|
|
|
|
protected override void OnInitialized()
|
|
{
|
|
Parameters = new Dictionary<string, object>();
|
|
Parameters.Add(new KeyValuePair<string, object>("AntiForgeryToken", ""));
|
|
Parameters.Add(new KeyValuePair<string, object>("Runtime", "Hybrid"));
|
|
Parameters.Add(new KeyValuePair<string, object>("RenderMode", "Hybrid"));
|
|
Parameters.Add(new KeyValuePair<string, object>("VisitorId", -1));
|
|
Parameters.Add(new KeyValuePair<string, object>("RemoteIPAddress", ""));
|
|
Parameters.Add(new KeyValuePair<string, object>("AuthorizationToken", ""));
|
|
}
|
|
|
|
protected override async Task OnErrorAsync(Exception exception)
|
|
{
|
|
await base.OnErrorAsync(exception);
|
|
return;
|
|
}
|
|
}
|
|
|