public static class RunicDevelopmentOnly Whether development-only views and members (RunicDevelopmentOnlyAttribute) are in this application.
Fields
FeatureSwitch
public const string FeatureSwitch = "Runic.Application.Views.DevelopmentOnlyViews" The feature switch that trimmed and NativeAOT publishes turn off (the MSBuild property RunicDevelopmentOnlyViews).
Properties
IsSupported
public static bool IsSupported { get; } true unless a trimmed or NativeAOT publish turned development-only views and members off. The trimmer treats it as a constant, so application code that only development needs can test it as well.
Methods
Removed
public static InvalidOperationException Removed(Type viewModel) The failure of opening or presenting a development-only ViewModel that this publish left out.
Parameters
viewModelThe ViewModel's type.
Remarks
For generated code; not part of the application API. Generated Bridges call it, including those of libraries that an earlier minor release generated, so it stays while the Bridge contract version does. Applications test RunicDevelopmentOnly.IsSupported instead.