diff --git a/src/MaaFramework.Binding/Infos/AdbDeviceInfo.cs b/src/MaaFramework.Binding/Infos/AdbDeviceInfo.cs index f7a83a1..56cb904 100644 --- a/src/MaaFramework.Binding/Infos/AdbDeviceInfo.cs +++ b/src/MaaFramework.Binding/Infos/AdbDeviceInfo.cs @@ -1,7 +1,7 @@ namespace MaaFramework.Binding; /// -/// An abstract record providing properties of adb device information. +/// A record providing properties of adb device information. /// /// Gets the name of a device. /// Gets the path of an adb that a device connected to. @@ -9,7 +9,7 @@ /// Gets the of a device. /// Gets the of a device. /// Gets the config of a device. -public abstract record AdbDeviceInfo( +public record AdbDeviceInfo( string Name, string AdbPath, string AdbSerial, diff --git a/src/MaaFramework.Binding/Infos/DesktopWindowInfo.cs b/src/MaaFramework.Binding/Infos/DesktopWindowInfo.cs index d55213e..e9a037d 100644 --- a/src/MaaFramework.Binding/Infos/DesktopWindowInfo.cs +++ b/src/MaaFramework.Binding/Infos/DesktopWindowInfo.cs @@ -1,12 +1,12 @@ namespace MaaFramework.Binding; /// -/// An abstract record providing properties of window information. +/// A record providing properties of window information. /// /// Gets the handle to a window. /// Gets the window name. /// Gets the window class name. -public abstract record DesktopWindowInfo( +public record DesktopWindowInfo( nint Handle, string Name, string ClassName