Table of Contents

Class MudGlobal

Namespace
MudBlazor
Assembly
MudBlazor.dll
public static class MudGlobal
Inheritance
MudGlobal
Inherited Members

Fields

EnableIllegalRazorParameterDetection

Gets or sets whether old parameters that were renamed in v7.0.0 should cause a runtime exception.

[Obsolete("This field is obsolete and has no function due to the new Analyzer. It will be removed in a future version.", true)]
public static bool EnableIllegalRazorParameterDetection

Field Value

bool

Remarks

Razor silently ignores parameters which don't exist. Since v7.0.0 renamed so many parameters we want to help our users find old parameters they missed by throwing a runtime exception.

Properties

UnhandledExceptionHandler

Global unhandled exception handler for such exceptions which can not be bubbled up. Note: this is not a global catch-all. It just allows the user to handle such exceptions which were suppressed inside MudBlazor using Task.AndForget() in places where it is impossible to await the task. Exceptions in user code or in razor files will still crash your app if you are not carefully handling everything with .

public static Action<Exception> UnhandledExceptionHandler { get; set; }

Property Value

Action<Exception>