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

DomCR / ACadSharp / 17064743521

19 Aug 2025 08:59AM UTC coverage: 78.336% (-0.09%) from 78.427%
17064743521

Pull #725

github

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

6505 of 9020 branches covered (72.12%)

Branch coverage included in aggregate %.

65 of 142 new or added lines in 8 files covered. (45.77%)

36 existing lines in 3 files now uncovered.

25265 of 31536 relevant lines covered (80.11%)

104867.71 hits per line

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

33.33
/src/ACadSharp/Objects/ProxyObject.cs
1
using ACadSharp.Attributes;
2
using ACadSharp.Classes;
3

4
namespace ACadSharp.Objects
5
{
6
        /// <summary>
7
        /// Represents a <see cref="ProxyObject"/> entity.
8
        /// </summary>
9
        /// <remarks>
10
        /// Object name <see cref="DxfFileToken.ObjectProxyObject"/> <br/>
11
        /// Dxf class name <see cref="DxfSubclassMarker.ProxyObject"/>
12
        /// </remarks>
13
        [DxfName(DxfFileToken.ObjectProxyObject)]
14
        [DxfSubClass(DxfSubclassMarker.ProxyObject)]
15
        public class ProxyObject : NonGraphicalObject, IProxy
16
        {
17
                /// <inheritdoc/>
18
                [DxfCodeValue(91)]
NEW
19
                public int ClassId { get { return this.DxfClass.ItemClassId; } }
×
20

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

29
                /// <inheritdoc/>
NEW
30
                public DxfClass DxfClass { get; set; }
×
31

32
                /// <inheritdoc/>
33
                public int MaintenanceVersion { get; set; }
1✔
34

35
                /// <inheritdoc/>
NEW
36
                public override string ObjectName => DxfFileToken.ObjectProxyObject;
×
37

38
                /// <inheritdoc/>
39
                [DxfCodeValue(70)]
40
                public bool OriginalDataFormatDxf { get; set; }
1✔
41

42
                /// <inheritdoc/>
43
                /// <remarks>
44
                /// Always 499
45
                /// </remarks>
46
                [DxfCodeValue(90)]
47
                public int ProxyClassId { get; } = 499;
1✔
48

49
                //93 Size of entity data in bits
50
                //310 Binary entity data(multiple entries can appear) (optional)
51

52
                //330 or 340
53
                //or 350 or 360
54
                //An object ID(multiple entries can appear) (optional)
55

56
                //94 0 (indicates end of object ID section)
57
                /// <inheritdoc/>
NEW
58
                public override string SubclassMarker => DxfSubclassMarker.ProxyObject;
×
59

60
                /// <inheritdoc/>
NEW
61
                public ACadVersion Version { get; set; }
×
62
        }
63
}
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