use new contants in .NET MAUI
This commit is contained in:
parent
1e332ed075
commit
156d39490e
|
@ -1,5 +1,6 @@
|
|||
@using System.Text.Json;
|
||||
@using System.Text.Json.Nodes;
|
||||
@using Oqtane.Shared;
|
||||
|
||||
@if (string.IsNullOrEmpty(message))
|
||||
{
|
||||
|
@ -19,8 +20,8 @@ else
|
|||
{
|
||||
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>("RenderMode", RenderModes.Hybrid));
|
||||
Parameters.Add(new KeyValuePair<string, object>("Runtime", Runtimes.Hybrid));
|
||||
Parameters.Add(new KeyValuePair<string, object>("VisitorId", -1));
|
||||
Parameters.Add(new KeyValuePair<string, object>("RemoteIPAddress", ""));
|
||||
Parameters.Add(new KeyValuePair<string, object>("AuthorizationToken", ""));
|
||||
|
|
|
@ -3,5 +3,6 @@ namespace Oqtane.Shared {
|
|||
public const string Static = "Static";
|
||||
public const string Interactive = "Interactive";
|
||||
public const string Headless = "Headless";
|
||||
public const string Hybrid = "Hybrid"; // used at runtime by .NET MAUI clients
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user