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

DomCR / ACadSharp / 17737836230

15 Sep 2025 03:12PM UTC coverage: 2.092% (-76.2%) from 78.245%
17737836230

push

github

web-flow
Merge pull request #790 from DomCR/addflag-refactor

addflag refactor

141 of 9225 branches covered (1.53%)

Branch coverage included in aggregate %.

0 of 93 new or added lines in 10 files covered. (0.0%)

24910 existing lines in 372 files now uncovered.

724 of 32119 relevant lines covered (2.25%)

5.76 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
                /// <summary>
17
                /// Represents the name of the current multi-leader style.
18
                /// </summary>
19
                /// <remarks>This constant is used to identify the current multi-leader style in the application. The value is
20
                /// a string literal: "CMLEADERSTYLE".</remarks>
21
                public const string CurrentMultiLeaderStyle = "CMLEADERSTYLE";
22

23
                /// <inheritdoc/>
UNCOV
24
                public override string ObjectName => DxfFileToken.ObjectDictionaryVar;
×
25

26
                /// <summary>
27
                /// Object schema number (currently set to 0)
28
                /// </summary>
29
                [DxfCodeValue(280)]
UNCOV
30
                public int ObjectSchemaNumber { get; internal set; }
×
31

32
                /// <inheritdoc/>
UNCOV
33
                public override ObjectType ObjectType => ObjectType.UNLISTED;
×
34

35
                /// <inheritdoc/>
UNCOV
36
                public override string SubclassMarker => DxfSubclassMarker.DictionaryVariables;
×
37

38
                /// <summary>
39
                /// Value of variable
40
                /// </summary>
41
                [DxfCodeValue(1)]
UNCOV
42
                public string Value { get; set; }
×
43

44
                /// <inheritdoc/>
UNCOV
45
                public DictionaryVariable() : base()
×
UNCOV
46
                {
×
UNCOV
47
                }
×
48

49
                /// <summary>
50
                /// Initializes a new instance of the <see cref="DictionaryVariable"/> class with the specified name and value.
51
                /// </summary>
52
                /// <remarks>The <paramref name="name"/> parameter is used to uniquely identify the dictionary variable, while
53
                /// the <paramref name="value"/> parameter represents the associated data.</remarks>
54
                /// <param name="name">The name of the dictionary variable.</param>
55
                /// <param name="value">The value associated with the dictionary variable.</param>
UNCOV
56
                public DictionaryVariable(string name, string value) : base(name)
×
UNCOV
57
                {
×
UNCOV
58
                        this.Value = value;
×
UNCOV
59
                }
×
60
        }
61
}
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

© 2025 Coveralls, Inc