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

DomCR / ACadSharp / 21010648765

14 Jan 2026 09:33PM UTC coverage: 77.031% (+0.09%) from 76.943%
21010648765

push

github

web-flow
Merge pull request #949 from DomCR/issue-948_dynamic-blocks-refactor

issue-948 dynamic properties

8019 of 11259 branches covered (71.22%)

Branch coverage included in aggregate %.

301 of 324 new or added lines in 21 files covered. (92.9%)

19 existing lines in 6 files now uncovered.

29076 of 36897 relevant lines covered (78.8%)

149030.45 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,072✔
21
                                if (this.DxfClass == null)
1,072!
22
                                {
×
23
                                        return "UNKNOWN";
×
24
                                }
25
                                else
26
                                {
1,072✔
27
                                        return this.DxfClass.DxfName;
1,072✔
28
                                }
29
                        }
1,072✔
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,144✔
52

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