namespace Examples; /// /// Marks an that is omitted from the browser host (Web/Host.cs) /// because of a wasm/WebGL platform limitation. Desktop runs are unaffected. /// [AttributeUsage(AttributeTargets.Class, Inherited = false)] public sealed class ExcludeFromBrowserAttribute : Attribute { /// Why the example cannot run in the browser. public string Reason { get; } public ExcludeFromBrowserAttribute(string reason = null) { Reason = reason; } }