// by Diplomat #pragma warning disable 0105 using System; using System.Runtime.InteropServices; using Devolutions.IronRdp.Diplomat; #pragma warning restore 0105 namespace Devolutions.IronRdp; #nullable enable public partial class Position { private Raw.Position _inner; public ushort X { get { unsafe { return _inner.x; } } set { unsafe { _inner.x = value; } } } public ushort Y { get { unsafe { return _inner.y; } } set { unsafe { _inner.y = value; } } } /// /// Creates a managed Position from the raw representation. /// public unsafe Position(Raw.Position data) { _inner = data; } /// /// Returns a copy of the underlying raw representation. /// public Raw.Position AsFFI() { return _inner; } }