Skip to content

Commit e656c23

Browse files
committed
DevTools Client - Simplify Strongly Typed Event handling
Now it's only possible to register one System.Type per event. - Remove RegisterEventHandler - Add AddEventHandler and RemoveEventHandler - Change constraint from DevToolsDomainEventArgsBase to EventArgs #3666
1 parent 46e9a1b commit e656c23

8 files changed

+1576
-5680
lines changed

CefSharp/CefSharp.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@
9292
<Compile Include="DevTools\DevToolsClient.cs" />
9393
<Compile Include="DevTools\DevToolsClient.Generated.cs" />
9494
<Compile Include="DevTools\DevToolsClientException.cs" />
95-
<Compile Include="DevTools\DevToolsEventHandlerRegistration.cs" />
9695
<Compile Include="DevTools\DevToolsMethodResponseContext.cs" />
9796
<Compile Include="DevTools\DevToolsDomainBase.cs" />
9897
<Compile Include="DevTools\DevToolsDomainEntityBase.cs" />
@@ -101,8 +100,10 @@
101100
<Compile Include="DevTools\DevToolsDomainResponseBase.cs" />
102101
<Compile Include="DevTools\DevToolsEventArgs.cs" />
103102
<Compile Include="DevTools\DevToolsMethodResponse.cs" />
103+
<Compile Include="DevTools\EventProxy.cs" />
104104
<Compile Include="DevTools\Headers.cs" />
105105
<Compile Include="DevTools\IDevToolsClient.cs" />
106+
<Compile Include="DevTools\IEventProxy.cs" />
106107
<Compile Include="DevTools\MemoryDumpConfig.cs" />
107108
<Compile Include="Enums\CompositionUnderlineStyle.cs" />
108109
<Compile Include="Enums\CookiePriority.cs" />

0 commit comments

Comments
 (0)