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

DomCR / ACadSharp / 19925453945

04 Dec 2025 10:17AM UTC coverage: 78.004% (-0.02%) from 78.026%
19925453945

push

github

web-flow
Merge pull request #910 from DomCR/AC1015-dwgwriter-refine

Ac1015 dwgwriter refine

7580 of 10537 branches covered (71.94%)

Branch coverage included in aggregate %.

157 of 181 new or added lines in 12 files covered. (86.74%)

28 existing lines in 4 files now uncovered.

28135 of 35249 relevant lines covered (79.82%)

162678.23 hits per line

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

45.45
/src/ACadSharp/Objects/CadDictionaryWithDefault.cs
1
using ACadSharp.Attributes;
2

3
namespace ACadSharp.Objects
4
{
5
        /// <summary>
6
        /// Represents a <see cref="CadDictionaryWithDefault"/> object.
7
        /// </summary>
8
        /// <remarks>
9
        /// Object name <see cref="DxfFileToken.ObjectDictionaryWithDefault"/> <br/>
10
        /// Dxf class name <see cref="DxfSubclassMarker.DictionaryWithDefault"/>
11
        /// </remarks>
12
        [DxfName(DxfFileToken.ObjectDictionaryWithDefault)]
13
        [DxfSubClass(DxfSubclassMarker.DictionaryWithDefault)]
14
        public class CadDictionaryWithDefault : CadDictionary
15
        {
16
                /// <summary>
17
                /// Default entry.
18
                /// </summary>
19
                /// <remarks>
20
                /// Currently only used for plot style dictionary's default entry, named “Normal”.
21
                /// </remarks>
22
                [DxfCodeValue(DxfReferenceType.Handle, 340)]
23
                public CadObject DefaultEntry { get; set; }
366✔
24

25
                /// <inheritdoc/>
26
                public override string ObjectName => DxfFileToken.ObjectDictionaryWithDefault;
740✔
27

28
                /// <inheritdoc/>
NEW
29
                public override ObjectType ObjectType { get { return ObjectType.UNLISTED; } }
×
30

31
                /// <inheritdoc/>
NEW
32
                public override string SubclassMarker => DxfSubclassMarker.DictionaryWithDefault;
×
33

34
                public CadDictionaryWithDefault() : base()
367✔
35
                {
367✔
36
                }
367✔
37

NEW
38
                public CadDictionaryWithDefault(string name, CadObject defaultEntry) : base(name)
×
NEW
39
                {
×
NEW
40
                        this.DefaultEntry = defaultEntry;
×
NEW
41
                }
×
42
        }
43
}
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