Esempio n. 1
0
        internal static Position2D ToManaged(Position2D_StructInternal _internal_struct)
        {
            var _external_struct = new Position2D();

            _external_struct.X = _internal_struct.X;
            _external_struct.Y = _internal_struct.Y;

            return(_external_struct);
        }
Esempio n. 2
0
        internal static Position2D_StructInternal ToInternal(Position2D _external_struct)
        {
            var _internal_struct = new Position2D_StructInternal();

            _internal_struct.X = _external_struct.X;
            _internal_struct.Y = _external_struct.Y;

            return(_internal_struct);
        }