Merge pull request #916 from hishamco/runtime

Runtime enum should be in Oqtane.Shared
This commit is contained in:
Shaun Walker
2020-11-19 15:37:19 -05:00
committed by GitHub
8 changed files with 21 additions and 12 deletions

View File

@ -549,8 +549,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;
}