Skip to content

Commit 266bb12

Browse files
nvborisenkosandeepsuryaprasad
authored andcommitted
[dotnet] [bidi] Convert RemoteObjectReference to an interface
1 parent 9b5009b commit 266bb12

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dotnet/src/webdriver/BiDi/Modules/Script/RemoteReference.cs renamed to dotnet/src/webdriver/BiDi/Modules/Script/IRemoteReference.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// <copyright file="RemoteReference.cs" company="Selenium Committers">
1+
// <copyright file="IRemoteReference.cs" company="Selenium Committers">
22
// Licensed to the Software Freedom Conservancy (SFC) under one
33
// or more contributor license agreements. See the NOTICE file
44
// distributed with this work for additional information
@@ -30,7 +30,9 @@ public interface ISharedReference : IRemoteReference
3030
public Handle? Handle { get; set; }
3131
}
3232

33-
public record RemoteObjectReference(Handle Handle) : IRemoteReference
33+
public interface IRemoteObjectReference : IRemoteReference
3434
{
35+
public Handle Handle { get; }
36+
3537
public string? SharedId { get; set; }
3638
}

0 commit comments

Comments
 (0)