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

DomCR / ACadSharp / 20972584561

13 Jan 2026 09:05PM UTC coverage: 76.954% (+0.06%) from 76.896%
20972584561

Pull #949

github

web-flow
Merge 944cf1dfb into 024480147
Pull Request #949: issue-948 dynamic properties

7968 of 11209 branches covered (71.09%)

Branch coverage included in aggregate %.

137 of 148 new or added lines in 10 files covered. (92.57%)

15 existing lines in 4 files now uncovered.

28972 of 36794 relevant lines covered (78.74%)

148849.84 hits per line

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

45.83
/src/ACadSharp/Objects/UnknownNonGraphicalObject.cs
1
using ACadSharp.Classes;
2

3
namespace ACadSharp.Objects
4
{
5
        /// <summary>
6
        /// Class that holds the basic information for an unknown <see cref="NonGraphicalObject"/>.
7
        /// </summary>
8
        /// <remarks>
9
        /// Unknown entities may appear in the <see cref="CadDocument"/> if the cad file contains proxies or objects not yet supported by ACadSharp.
10
        /// </remarks>
11
        public class UnknownNonGraphicalObject : NonGraphicalObject
12
        {
13
                /// <inheritdoc/>
14
                public override ObjectType ObjectType => ObjectType.UNDEFINED;
×
15

16
                /// <inheritdoc/>
17
                public override string ObjectName
18
                {
19
                        get
20
                        {
1,488✔
21
                                if (this.DxfClass == null)
1,488!
22
                                {
×
23
                                        return "UNKNOWN";
×
24
                                }
25
                                else
26
                                {
1,488✔
27
                                        return this.DxfClass.DxfName;
1,488✔
28
                                }
29
                        }
1,488✔
30
                }
31

32
                /// <inheritdoc/>
33
                public override string SubclassMarker
34
                {
35
                        get
UNCOV
36
                        {
×
UNCOV
37
                                if (this.DxfClass == null)
×
38
                                {
×
39
                                        return DxfSubclassMarker.Entity;
×
40
                                }
41
                                else
UNCOV
42
                                {
×
UNCOV
43
                                        return this.DxfClass.CppClassName;
×
44
                                }
UNCOV
45
                        }
×
46
                }
47

48
                /// <summary>
49
                /// Dxf class linked to this entity.
50
                /// </summary>
51
                public DxfClass DxfClass { get; }
2,976✔
52

53
                internal UnknownNonGraphicalObject(DxfClass dxfClass)
9,054✔
54
                {
9,054✔
55
                        this.DxfClass = dxfClass;
9,054✔
56
                }
9,054✔
57
        }
58
}
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