• 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/Classes/DxfClass.cs
1
using ACadSharp.Attributes;
2

3
namespace ACadSharp.Classes
4
{
5
        public class DxfClass
6
        {
7
                /// <summary>
8
                /// Application name.
9
                /// Posted in Alert box when a class definition listed in this section is not currently loaded.
10
                /// </summary>
11
                [DxfCodeValue(3)]
UNCOV
12
                public string ApplicationName { get; set; } = "ObjectDBX Classes";
×
13

14
                /// <summary>
15
                /// Class number.
16
                /// </summary>
UNCOV
17
                public short ClassNumber { get; set; }
×
18

19
                /// <summary>
20
                /// C++ class name.
21
                /// Used to bind with software that defines object class behavior; always unique.
22
                /// </summary>
23
                [DxfCodeValue(2)]
UNCOV
24
                public string CppClassName { get; set; }
×
25

UNCOV
26
                public ACadVersion DwgVersion { get; set; }
×
27

28
                /// <summary>
29
                /// Class DXF record name; always unique.
30
                /// </summary>
31
                [DxfCodeValue(1)]
UNCOV
32
                public string DxfName { get; set; }
×
33

34
                /// <summary>
35
                /// Instance count for a custom class.
36
                /// </summary>
37
                [DxfCodeValue(91)]
UNCOV
38
                public int InstanceCount { get; set; }
×
39

40
                /// <summary>
41
                /// Is-an-entity flag.
42
                /// Set to 1 if class was derived from the AcDbEntity class and can reside in the BLOCKS or ENTITIES section.
43
                /// If 0, instances may appear only in the OBJECTS section
44
                /// </summary>
45
                [DxfCodeValue(281)]
UNCOV
46
                public bool IsAnEntity { get; set; }
×
47

48
                /// <summary>
49
                /// Item class id.
50
                /// </summary>
UNCOV
51
                public short ItemClassId { get; internal set; }
×
52

53
                /// <summary>
54
                /// Proxy capabilities flag.
55
                /// Bit-coded value that indicates the capabilities of this object as a proxy.
56
                /// </summary>
57
                [DxfCodeValue(90)]
UNCOV
58
                public ProxyFlags ProxyFlags { get; set; }
×
59

60
                /// <summary>
61
                /// Was-a-proxy flag.
62
                /// Set to 1 if class was not loaded when this DXF file was created, and 0 otherwise.
63
                /// </summary>
64
                [DxfCodeValue(280)]
UNCOV
65
                public bool WasZombie { get; set; }
×
66

UNCOV
67
                internal short MaintenanceVersion { get; set; }
×
68

69
                /// <inheritdoc/>
70
                public override string ToString()
71
                {
×
72
                        return $"{DxfName}:{ClassNumber}";
×
73
                }
×
74
        }
75
}
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