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

DomCR / ACadSharp / 12905761471

22 Jan 2025 10:03AM UTC coverage: 2.0% (-74.0%) from 75.963%
12905761471

push

github

DomCR
version 1.0.6

104 of 7676 branches covered (1.35%)

Branch coverage included in aggregate %.

590 of 27024 relevant lines covered (2.18%)

5.13 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
using System;
3

4
namespace ACadSharp.Classes
5
{
6
        public class DxfClass
7
        {
8
                /// <summary>
9
                /// Class DXF record name; always unique
10
                /// </summary>
11
                [DxfCodeValue(1)]
12
                public string DxfName { get; set; }
×
13

14
                /// <summary>
15
                /// C++ class name. Used to bind with software that defines object class behavior; always unique
16
                /// </summary>
17
                [DxfCodeValue(2)]
18
                public string CppClassName { get; set; }
×
19

20
                /// <summary>
21
                /// Application name. Posted in Alert box when a class definition listed in this section is not currently loaded
22
                /// </summary>
23
                [DxfCodeValue(3)]
24
                public string ApplicationName { get; set; } = "ObjectDBX Classes";
×
25

26
                /// <summary>
27
                /// Proxy capabilities flag. Bit-coded value that indicates the capabilities of this object as a proxy
28
                /// </summary>
29
                [DxfCodeValue(90)]
30
                public ProxyFlags ProxyFlags { get; set; }
×
31

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

38
                /// <summary>
39
                /// Was-a-proxy flag. Set to 1 if class was not loaded when this DXF file was created, and 0 otherwise
40
                /// </summary>
41
                [DxfCodeValue(280)]
42
                public bool WasZombie { get; set; }
×
43

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

52
                /// <summary>
53
                /// Class number
54
                /// </summary>
55
                public short ClassNumber { get; set; }
×
56

57
                /// <summary>
58
                /// Item class id
59
                /// </summary>
60
                internal short ItemClassId { get; set; }
×
61

62
                public ACadVersion DwgVersion { get; set; }
×
63

64
                internal short MaintenanceVersion { get; set; }
×
65

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