• 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/Attributes/CadSystemVariableAttribute.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5

6
namespace ACadSharp.Attributes
7
{
8
        [System.AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
9
        public sealed class CadSystemVariableAttribute : Attribute, ICodeValueAttribute
10
        {
11
                /// <summary>
12
                /// System variable name
13
                /// </summary>
UNCOV
14
                public string Name { get; }
×
15

16
                /// <inheritdoc/>
UNCOV
17
                public DxfCode[] ValueCodes { get; }
×
18

19
                /// <inheritdoc/>
UNCOV
20
                public DxfReferenceType ReferenceType { get; }
×
21

22
                /// <summary>
23
                /// 
24
                /// </summary>
UNCOV
25
                public bool IsName { get; } = false;
×
26

UNCOV
27
                public CadSystemVariableAttribute(string variable, bool isName, params int[] codes)
×
UNCOV
28
                {
×
UNCOV
29
                        this.Name = variable;
×
UNCOV
30
                        this.IsName = isName;
×
UNCOV
31
                        this.ValueCodes = codes.Select(c => (DxfCode)c).ToArray();
×
UNCOV
32
                }
×
33

UNCOV
34
                public CadSystemVariableAttribute(string variable, params int[] codes)
×
UNCOV
35
                {
×
UNCOV
36
                        this.Name = variable;
×
UNCOV
37
                        this.ValueCodes = codes.Select(c => (DxfCode)c).ToArray();
×
UNCOV
38
                }
×
39

UNCOV
40
                public CadSystemVariableAttribute(string variable, params DxfCode[] codes)
×
UNCOV
41
                {
×
UNCOV
42
                        this.Name = variable;
×
UNCOV
43
                        this.ValueCodes = codes;
×
UNCOV
44
                }
×
45

UNCOV
46
                public CadSystemVariableAttribute(DxfReferenceType referenceType, string variable, params int[] codes)
×
UNCOV
47
                {
×
UNCOV
48
                        this.ReferenceType = referenceType;
×
UNCOV
49
                        this.Name = variable;
×
UNCOV
50
                        this.ValueCodes = codes.Select(c => (DxfCode)c).ToArray();
×
UNCOV
51
                }
×
52
        }
53
}
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