You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Services/EventManager/WebEventJsonContext.cs

27 lines
961 B

// Copyright (c) MudBlazor 2021
// MudBlazor licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Text.Json.Serialization;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
namespace Connected
{
[JsonSerializable(typeof(EventArgs))]
[JsonSerializable(typeof(ChangeEventArgs))]
[JsonSerializable(typeof(ClipboardEventArgs))]
[JsonSerializable(typeof(DragEventArgs))]
[JsonSerializable(typeof(Microsoft.AspNetCore.Components.Web.ErrorEventArgs))]
[JsonSerializable(typeof(FocusEventArgs))]
[JsonSerializable(typeof(KeyboardEventArgs))]
[JsonSerializable(typeof(MouseEventArgs))]
[JsonSerializable(typeof(PointerEventArgs))]
[JsonSerializable(typeof(ProgressEventArgs))]
[JsonSerializable(typeof(TouchEventArgs))]
[JsonSerializable(typeof(WheelEventArgs))]
internal sealed partial class WebEventJsonContext : JsonSerializerContext
{
}
}