Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions third_party/dotnet/devtools/NuGet.Config

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ public sealed class CommandInfo(string commandName, string fullTypeName, string

public string FullTypeName { get; } = fullTypeName;

public string FullSnakeTypeName { get; } = fullTypeName.Replace(".", "_");

public string FullResponseTypeName { get; } = fullResponseTypeName;

public string FullSnakeResponseTypeName { get; } = fullResponseTypeName.Replace(".", "_");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ public sealed class EventInfo(string eventName, string fullTypeName)
public string EventName { get; } = eventName;

public string FullTypeName { get; } = fullTypeName;

public string FullSnakeTypeName { get; } = fullTypeName.Replace(".", "_");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ namespace {{rootNamespace}}
}

{{#each commands}}
[global::System.Text.Json.Serialization.JsonSerializable(typeof({{FullTypeName}}))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof({{FullResponseTypeName}}))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof({{FullTypeName}}), TypeInfoPropertyName = "{{FullSnakeTypeName}}")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof({{FullResponseTypeName}}), TypeInfoPropertyName = "{{FullSnakeResponseTypeName}}")]
{{/each}}
{{#each events}}
[global::System.Text.Json.Serialization.JsonSerializable(typeof({{fullTypeName}}))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof({{FullTypeName}}), TypeInfoPropertyName = "{{FullSnakeTypeName}}")]
{{/each}}
[global::System.Text.Json.Serialization.JsonSourceGenerationOptions(Converters = [typeof(OpenQA.Selenium.DevTools.Json.StringConverter)])]
internal sealed partial class {{protocolVersion}}JsonSerializerContext : global::System.Text.Json.Serialization.JsonSerializerContext;
Expand Down