• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DomCR / ACadSharp / 17036245569

18 Aug 2025 09:10AM UTC coverage: 78.369% (-0.08%) from 78.449%
17036245569

Pull #725

github

web-flow
Merge 7f75969b4 into 7cf07e00a
Pull Request #725: issue 399

6509 of 9020 branches covered (72.16%)

Branch coverage included in aggregate %.

26 of 86 new or added lines in 6 files covered. (30.23%)

13 existing lines in 1 file now uncovered.

25268 of 31528 relevant lines covered (80.14%)

104894.02 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/src/ACadSharp/Entities/ProxyEntity.cs
1
using ACadSharp.Attributes;
2
using ACadSharp.Classes;
3
using CSMath;
4

5
namespace ACadSharp.Entities
6
{
7
        /// <summary>
8
        /// Represents a <see cref="ProxyEntity"/> entity.
9
        /// </summary>
10
        /// <remarks>
11
        /// Object name <see cref="DxfFileToken.EntityProxyEntity"/> <br/>
12
        /// Dxf class name <see cref="DxfSubclassMarker.ProxyEntity"/>
13
        /// </remarks>
14
        [DxfName(DxfFileToken.EntityProxyEntity)]
15
        [DxfSubClass(DxfSubclassMarker.ProxyEntity)]
16
        public class ProxyEntity : Entity, IProxy
17
        {
18
                /// <summary>
19
                /// Application dxf class ID.
20
                /// </summary>
21
                [DxfCodeValue(91)]
NEW
22
                public int ClassId { get { return this.DxfClass.ItemClassId; } }
×
23

24
                /// <summary>
25
                /// Object drawing format when it becomes a proxy: <br/>
26
                /// Low word is AcDbDwgVersion. <br/>
27
                /// High word is MaintenanceReleaseVersion.
28
                /// </summary>
29
                [DxfCodeValue(95)]
NEW
30
                public int DrawingFormat { get { return (int)this.Version | (this.MaintenanceVersion << 16); } }
×
31

NEW
32
                public DxfClass DxfClass { get; set; }
×
33

34
                public int MaintenanceVersion { get; set; }
5✔
35

36
                /// <inheritdoc/>
37
                public override string ObjectName => DxfFileToken.EntityProxyEntity;
1✔
38

39
                /// <inheritdoc/>
40
                public override ObjectType ObjectType => ObjectType.ACAD_PROXY_ENTITY;
1✔
41

42
                /// <inheritdoc/>
43
                [DxfCodeValue(70)]
44
                public bool OriginalDataFormatDxf { get; set; }
5✔
45

46
                /// <inheritdoc/>
47
                /// <remarks>
48
                /// Always 498
49
                /// </remarks>
50
                [DxfCodeValue(90)]
51
                public int ProxyClassId { get; } = 498;
6✔
52

53
                /// <inheritdoc/>
54
                public override string SubclassMarker => DxfSubclassMarker.ProxyEntity;
2✔
55

56
                //92 Size of graphics data in bytes
57
                //310 Binary graphics data(multiple entries can appear) (optional)
58

59
                //93 Size of entity data in bits
60
                //310 Binary entity data(multiple entries can appear) (optional)
61

62
                //330 or 340
63
                //or 350 or 360
64
                //An object ID(multiple entries can appear) (optional)
65

66
                //94 0 (indicates end of object ID section)
67
                /// <inheritdoc/>
NEW
68
                public ACadVersion Version { get; set; }
×
69

70
                /// <inheritdoc/>
71
                public override void ApplyTransform(Transform transform)
NEW
72
                {
×
NEW
73
                }
×
74

75
                /// <inheritdoc/>
76
                public override BoundingBox GetBoundingBox()
77
                {
1✔
78
                        return BoundingBox.Null;
1✔
79
                }
1✔
80
        }
81
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc