Skip to content

Commit 35439c4

Browse files
committed
Remove IAdapter experiment
1 parent 32bd65a commit 35439c4

File tree

2 files changed

+1
-34
lines changed

2 files changed

+1
-34
lines changed

dotnet/src/webdriver/DevTools/IAdapter.cs

Lines changed: 0 additions & 28 deletions
This file was deleted.

third_party/dotnet/devtools/src/generator/Templates/domain.hbs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace {{rootNamespace}}.{{domain.Name}}
1010
/// <summary>
1111
/// Represents an adapter for the {{domain.Name}} domain to simplify the command interface.
1212
/// </summary>
13-
public class {{dehumanize domain.Name}}Adapter : global::OpenQA.Selenium.DevTools.IAdapter
13+
public class {{dehumanize domain.Name}}Adapter
1414
{
1515
private static readonly JsonSerializerOptions jsonSerializerOptions = new()
1616
{
@@ -89,11 +89,6 @@ namespace {{rootNamespace}}.{{domain.Name}}
8989
}
9090

9191
{{/each}}
92-
93-
global::System.Text.Json.Nodes.JsonNode IAdapter.SerializeToNode<TCommand>(TCommand command)
94-
{
95-
return JsonSerializer.SerializeToNode(command, jsonSerializerOptions);
96-
}
9792
}
9893
}
9994

0 commit comments

Comments
 (0)