using Newtonsoft.Json.Linq; namespace bessw.Unity.WebView.ChromeDevTools.Protocol { public class DevtoolsResponseWrapper { public long Id { get; set; } public JObject Result { get; set; } } /// /// Every devtools command response has the same id and a method as the corresponding command /// public class DevtoolsResponseWrapper<T> : DevtoolsResponseWrapper where T : IDevtoolsResponse { public new T Result { get; set; } } public interface IDevtoolsResponse { } }