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

DomCR / ACadSharp / 20457200384

23 Dec 2025 09:42AM UTC coverage: 76.854% (-0.3%) from 77.148%
20457200384

Pull #924

github

web-flow
Merge fde81b197 into 886606be2
Pull Request #924: issue 923 - dim style override

7696 of 10903 branches covered (70.59%)

Branch coverage included in aggregate %.

49 of 176 new or added lines in 8 files covered. (27.84%)

123 existing lines in 7 files now uncovered.

28361 of 36013 relevant lines covered (78.75%)

159201.5 hits per line

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

64.71
/src/ACadSharp/XData/ExtendedDataRecord.cs
1
namespace ACadSharp.XData
2
{
3
        /// <summary>
4
        /// Defines an <see cref="ExtendedData"/> record.
5
        /// </summary>
6
        public abstract class ExtendedDataRecord
7
        {
8
                /// <summary>
9
                /// Dxf code which defines the value type.
10
                /// </summary>
11
                public DxfCode Code
12
                {
13
                        get { return this._code; }
32,862✔
14
                }
15

16
                /// <summary>
17
                /// Raw value as an object.
18
                /// </summary>
19
                public object RawValue { get { return this._value; } }
2,223✔
20

21
                private DxfCode _code;
22

23
                protected object _value;
24

25
                protected ExtendedDataRecord(DxfCode code, object value)
377,971✔
26
                {
377,971✔
27
                        this._code = code;
377,971✔
28
                        this._value = value;
377,971✔
29
                }
377,971✔
30

31
                /// <inheritdoc/>
32
                public override string ToString()
33
                {
×
34
                        return $"{this.Code}:{this._value}";
×
35
                }
×
36
        }
37

38
        /// <summary>
39
        /// Defines a typed <see cref="ExtendedData"/> record.
40
        /// </summary>
41
        /// <typeparam name="T"></typeparam>
42
        public abstract class ExtendedDataRecord<T> : ExtendedDataRecord
43
        {
44
                /// <summary>
45
                /// Value for this record.
46
                /// </summary>
47
                public T Value
48
                {
49
                        get { return (T)this._value; }
28,350✔
50
                        set
NEW
51
                        {
×
NEW
52
                                this._value = value;
×
NEW
53
                        }
×
54
                }
55

56
                protected ExtendedDataRecord(DxfCode code, T value) : base(code, value)
354,185✔
57
                {
354,185✔
58
                }
354,185✔
59
        }
60
}
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