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

DomCR / ACadSharp / 29143042407

11 Jul 2026 06:34AM UTC coverage: 2.912% (-73.0%) from 75.918%
29143042407

push

github

web-flow
Merge pull request #1146 from ilCosmico/acds-read-payload-anchor

Read the AcDs payload area offset from the data segment header

264 of 12999 branches covered (2.03%)

Branch coverage included in aggregate %.

0 of 30 new or added lines in 1 file covered. (0.0%)

31243 existing lines in 465 files now uncovered.

1337 of 41984 relevant lines covered (3.18%)

5.38 hits per line

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

0.0
/src/ACadSharp/Objects/DictionaryVariable.cs
1
using ACadSharp.Attributes;
2

3
namespace ACadSharp.Objects
4
{
5
        /// <summary>
6
        /// Represents a <see cref="DictionaryVariable"/> object.
7
        /// </summary>
8
        /// <remarks>
9
        /// Object name <see cref="DxfFileToken.ObjectDictionaryVar"/> <br/>
10
        /// Dxf class name <see cref="DxfSubclassMarker.DictionaryVariables"/>
11
        /// </remarks>
12
        [DxfName(DxfFileToken.ObjectDictionaryVar)]
13
        [DxfSubClass(DxfSubclassMarker.DictionaryVariables)]
14
        public class DictionaryVariable : NonGraphicalObject
15
        {
16
                /// <inheritdoc/>
UNCOV
17
                public override string ObjectName => DxfFileToken.ObjectDictionaryVar;
×
18

19
                /// <summary>
20
                /// Object schema number (currently set to 0)
21
                /// </summary>
22
                [DxfCodeValue(280)]
UNCOV
23
                public int ObjectSchemaNumber { get; internal set; }
×
24

25
                /// <inheritdoc/>
UNCOV
26
                public override ObjectType ObjectType => ObjectType.UNLISTED;
×
27

28
                /// <inheritdoc/>
UNCOV
29
                public override string SubclassMarker => DxfSubclassMarker.DictionaryVariables;
×
30

31
                /// <summary>
32
                /// Value of variable
33
                /// </summary>
34
                [DxfCodeValue(1)]
UNCOV
35
                public string Value { get; set; }
×
36

37
                /// <summary>
38
                /// Represents the name of the system variable that specifies the current <see cref="Scale"/>.
39
                /// </summary>
40
                /// <remarks>
41
                /// This constant is used to identify the current <see cref="Scale"/> in the application.
42
                /// </remarks>
43
                public const string CurrentAnnotationScale = "CANNOSCALE";
44

45
                /// <summary>
46
                /// Represents the name of the current <see cref="MultiLeaderStyle"/>.
47
                /// </summary>
48
                /// <remarks>
49
                /// This constant is used to identify the current <see cref="MultiLeaderStyle"/> in the application.
50
                /// </remarks>
51
                public const string CurrentMultiLeaderStyle = "CMLEADERSTYLE";
52

53
                /// <summary>
54
                /// Represents the name of the current <see cref="TableStyle"/>.
55
                /// </summary>
56
                /// <remarks>
57
                /// This constant is used to identify the current <see cref="TableStyle"/> in the application.
58
                /// </remarks>
59
                public const string CurrentTableStyle = "CTABLESTYLE";
60

61
                /// <summary>
62
                /// The name of the system variable that controls the display of frames for wipeout objects.
63
                /// </summary>
64
                public const string WipeoutFrame = "WIPEOUTFRAME";
65

66
                /// <inheritdoc/>
UNCOV
67
                public DictionaryVariable() : base()
×
UNCOV
68
                {
×
UNCOV
69
                }
×
70

71
                /// <summary>
72
                /// Initializes a new instance of the <see cref="DictionaryVariable"/> class with the specified name and value.
73
                /// </summary>
74
                /// <remarks>The <paramref name="name"/> parameter is used to uniquely identify the dictionary variable, while
75
                /// the <paramref name="value"/> parameter represents the associated data.</remarks>
76
                /// <param name="name">The name of the dictionary variable.</param>
77
                /// <param name="value">The value associated with the dictionary variable.</param>
UNCOV
78
                public DictionaryVariable(string name, string value) : base(name)
×
UNCOV
79
                {
×
UNCOV
80
                        this.Value = value;
×
UNCOV
81
                }
×
82
        }
83
}
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