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

DomCR / ACadSharp / 29328075672

14 Jul 2026 11:12AM UTC coverage: 76.455%. First build
29328075672

Pull #1151

github

web-flow
Merge ab404a2bb into 663340188
Pull Request #1151: DxfWriter - Dynamic parameters

9312 of 13139 branches covered (70.87%)

Branch coverage included in aggregate %.

636 of 727 new or added lines in 25 files covered. (87.48%)

33204 of 42470 relevant lines covered (78.18%)

154449.89 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 System;
2
using ACadSharp.Attributes;
3

4
namespace ACadSharp.Objects.Evaluations;
5

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

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

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

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

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

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

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

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

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

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

84
                private EvaluationExpression _expression;
85

86
                private EvaluationGraph _evaluationGraph;
87

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

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

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

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