Runtime enum should be in Oqtane,Shared

This commit is contained in:
hishamco
2020-11-19 17:33:49 +03:00
parent c44bc8709d
commit 322d45dd12
8 changed files with 21 additions and 12 deletions

View File

@ -560,8 +560,8 @@
return pageresources;
}
private Runtime GetRuntime()
private Oqtane.Shared.Runtime GetRuntime()
=> RuntimeInformation.IsOSPlatform(OSPlatform.Create("BROWSER"))
? Runtime.WebAssembly
: Runtime.Server;
? Oqtane.Shared.Runtime.WebAssembly
: Oqtane.Shared.Runtime.Server;
}