Files
cefsharp/CefSharp/DevTools/DevToolsDomainEventArgsBase.cs
T
campersau b8896da54d DevTools - Support strongly typed events (#3669)
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
2021-07-05 10:32:22 +10:00

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
}
}