mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 09:37:03 +00:00
b8896da54d
Includes various other DevTools fixes: - JavaScript "number"s are represented as doubles instead of longs - Headers are now correctly serialized / deserialized - DevToolsDomainErrorResponse is now correctly deserialized
26 lines
670 B
C#
26 lines
670 B
C#
// Copyright © 2021 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace CefSharp.DevTools
|
|
{
|
|
[DataContract]
|
|
public abstract class DevToolsDomainEventArgsBase : EventArgs
|
|
{
|
|
#if !NETCOREAPP
|
|
public static object StringToEnum(Type enumType, string input)
|
|
{
|
|
return DevToolsDomainEntityBase.StringToEnum(enumType, input);
|
|
}
|
|
|
|
public static string EnumToString(Enum e)
|
|
{
|
|
return DevToolsDomainEntityBase.EnumToString(e);
|
|
}
|
|
#endif
|
|
}
|
|
}
|