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

DomCR / ACadSharp / 29367200743

14 Jul 2026 08:49PM UTC coverage: 76.439% (+0.5%) from 75.954%
29367200743

Pull #1151

github

web-flow
Merge 20f42abbc into d44113e43
Pull Request #1151: DxfWriter - Dynamic parameters

9314 of 13143 branches covered (70.87%)

Branch coverage included in aggregate %.

645 of 736 new or added lines in 27 files covered. (87.64%)

17 existing lines in 6 files now uncovered.

33200 of 42475 relevant lines covered (78.16%)

154427.35 hits per line

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

65.85
/src/ACadSharp/Objects/Evaluations/EvaluationGraph.GraphNode.cs
1
using ACadSharp.Attributes;
2

3
namespace ACadSharp.Objects.Evaluations;
4

5
public partial class EvaluationGraph
6
{
7
        /// <summary>
8
        /// Represents a graph node of a <see cref="EvaluationGraph"/>.
9
        /// </summary>
10
        public class Node
11
        {
12
                /// <summary>
13
                /// Unknown
14
                /// </summary>
15
                [DxfCodeValue(92)]
16
                public int Data1 { get; internal set; }
4,800✔
17

18
                /// <summary>
19
                /// Unknown
20
                /// </summary>
21
                [DxfCodeValue(92)]
22
                public int Data2 { get; internal set; }
4,800✔
23

24
                /// <summary>
25
                /// Unknown
26
                /// </summary>
27
                [DxfCodeValue(92)]
28
                public int Data3 { get; internal set; }
4,800✔
29

30
                /// <summary>
31
                /// Unknown
32
                /// </summary>
33
                [DxfCodeValue(92)]
34
                public int Data4 { get; internal set; }
4,800✔
35

36
                /// <summary>
37
                /// Gets a <see cref="EvaluationExpression"/> associated with this <see cref="Node"/>.
38
                /// </summary>
39
                [DxfCodeValue(360)]
40
                public EvaluationExpression Expression
41
                {
42
                        get
43
                        {
4,983✔
44
                                return this._expression;
4,983✔
45
                        }
4,983✔
46
                        set
47
                        {
4,028✔
48
                                if (value != null)
4,028✔
49
                                {
4,028✔
50
                                        this._evaluationGraph.Document?.AddCadObject(value);
4,028!
51
                                }
4,028✔
52

53
                                if (this._expression != null)
4,028!
NEW
54
                                {
×
NEW
55
                                        this._evaluationGraph.Document?.RemoveCadObject(this._expression);
×
NEW
56
                                }
×
57

58
                                this._expression = value;
4,028✔
59
                                this._expression.Owner = this._evaluationGraph;
4,028✔
60
                        }
4,028✔
61
                }
62

63
                /// <summary>
64
                /// Unknown
65
                /// </summary>
66
                [DxfCodeValue(93)]
67
                public NodeFlags Flags { get; set; }
4,800✔
68

69
                /// <summary>
70
                /// Gets or sets the index of the next <see cref="Node"/> in the list of
71
                /// graph nodes in the owning <see cref="EvaluationGraph"/>.
72
                /// </summary>
73
                [DxfCodeValue(95)]
74
                public int Id { get; set; }
4,800✔
75

76
                /// <summary>
77
                /// Gets or sets the index of this <see cref="Node"/> in the list of
78
                /// graph nodes in the owning <see cref="EvaluationGraph"/>.
79
                /// </summary>
80
                [DxfCodeValue(91)]
81
                public int Index { get; set; }
4,612✔
82

83
                private EvaluationExpression _expression;
84

85
                private EvaluationGraph _evaluationGraph;
86

87
                public Node(EvaluationGraph evaluationGraph)
4,612✔
88
                {
4,612✔
89
                        this._evaluationGraph = evaluationGraph;
4,612✔
90
                }
4,612✔
91

92
                /// <summary>
93
                /// Creates a deep copy of this <see cref="Node"/>.
94
                /// </summary>
95
                /// <returns>A deep copy of this <see cref="Node"/>.</returns>
96
                public Node Clone()
NEW
97
                {
×
NEW
98
                        Node clone = (Node)this.MemberwiseClone();
×
99

NEW
100
                        clone.Expression = (EvaluationExpression)this.Expression?.Clone();
×
101

NEW
102
                        return clone;
×
NEW
103
                }
×
104
        }
105
}
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