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

DomCR / ACadSharp / 17737836230

15 Sep 2025 03:12PM UTC coverage: 2.092% (-76.2%) from 78.245%
17737836230

push

github

web-flow
Merge pull request #790 from DomCR/addflag-refactor

addflag refactor

141 of 9225 branches covered (1.53%)

Branch coverage included in aggregate %.

0 of 93 new or added lines in 10 files covered. (0.0%)

24910 existing lines in 372 files now uncovered.

724 of 32119 relevant lines covered (2.25%)

5.76 hits per line

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

0.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)]
22
                public int ClassId { get { return this.DxfClass.ClassNumber; } }
×
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)]
30
                public int DrawingFormat { get { return (int)this.Version | (this.MaintenanceVersion << 16); } }
×
31

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

UNCOV
34
                public int MaintenanceVersion { get; set; }
×
35

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

39
                /// <inheritdoc/>
UNCOV
40
                public override ObjectType ObjectType => ObjectType.ACAD_PROXY_ENTITY;
×
41

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

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

53
                /// <inheritdoc/>
UNCOV
54
                public override string SubclassMarker => DxfSubclassMarker.ProxyEntity;
×
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/>
68
                public ACadVersion Version { get; set; }
×
69

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

75
                /// <inheritdoc/>
76
                public override BoundingBox GetBoundingBox()
UNCOV
77
                {
×
UNCOV
78
                        return BoundingBox.Null;
×
UNCOV
79
                }
×
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