• 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/Objects/ProxyObject.cs
1
using ACadSharp.Attributes;
2
using ACadSharp.Classes;
3
using System.IO;
4

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

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

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

33
                /// <inheritdoc/>
UNCOV
34
                public int MaintenanceVersion { get; set; }
×
35

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

39
                /// <inheritdoc/>
40
                [DxfCodeValue(70)]
UNCOV
41
                public bool OriginalDataFormatDxf { get; set; }
×
42

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

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

53
                [DxfCodeValue(310)]
54
                public Stream BinaryData { get; set; }
×
55

56
                [DxfCodeValue(311)]
57
                public Stream Data { get; set; }
×
58

59
                //330 or 340
60
                //or 350 or 360
61
                //An object ID(multiple entries can appear) (optional)
62

63
                //94 0 (indicates end of object ID section)
64

65
                /// <inheritdoc/>
66
                public override string SubclassMarker => DxfSubclassMarker.ProxyObject;
×
67

68
                /// <inheritdoc/>
69
                public ACadVersion Version { get; set; }
×
70
        }
71
}
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

© 2025 Coveralls, Inc