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

DomCR / ACadSharp / 12347592457

16 Dec 2024 07:04AM UTC coverage: 75.599% (+0.2%) from 75.438%
12347592457

Pull #486

github

web-flow
Merge 3288cd95f into b3a0f2146
Pull Request #486: Dynamic blocks

5136 of 7499 branches covered (68.49%)

Branch coverage included in aggregate %.

49 of 92 new or added lines in 9 files covered. (53.26%)

10 existing lines in 3 files now uncovered.

20470 of 26372 relevant lines covered (77.62%)

36747.45 hits per line

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

22.22
/src/ACadSharp/Objects/Evaluations/EvaluationGraph.cs
1
using ACadSharp.Attributes;
2
using System.Collections.Generic;
3

4
namespace ACadSharp.Objects.Evaluations
5
{
6
        /// <summary>
7
        /// Represents an evaluation graph containing a list of <see cref="GraphNode"/>
8
        /// objects.
9
        /// </summary>
10
        [DxfName(DxfFileToken.ObjectEvalGraph)]
11
        [DxfSubClass(DxfSubclassMarker.EvalGraph)]
12
        public partial class EvaluationGraph : NonGraphicalObject
13
        {
14
                /// <inheritdoc/>
NEW
15
                public override ObjectType ObjectType => ObjectType.UNLISTED;
×
16

17
                /// <inheritdoc/>
NEW
18
                public override string ObjectName => DxfFileToken.ObjectEvalGraph;
×
19

20
                /// <inheritdoc/>
NEW
21
                public override string SubclassMarker => DxfSubclassMarker.EvalGraph;
×
22

23
                [DxfCodeValue(96)]
24
                public int Value96 { get; set; }
1✔
25

26
                [DxfCodeValue(97)]
27
                public int Value97 { get; set; }
1✔
28

29
                /// <summary>
30
                /// Gets a list of <see cref="GraphNode"/> objects.
31
                /// </summary>
32
                public IList<GraphNode> Nodes { get; private set; } = new List<GraphNode>();
18✔
33

34
                public EvaluationGraph() { }
3✔
35

36
                /// <inheritdoc/>
37
                public override CadObject Clone()
NEW
38
                {
×
NEW
39
                        EvaluationGraph clone = (EvaluationGraph)base.Clone();
×
40

NEW
41
                        clone.Nodes = new List<GraphNode>();
×
NEW
42
                        foreach (var item in this.Nodes)
×
NEW
43
                        {
×
NEW
44
                                clone.Nodes.Add((GraphNode)item.Clone());
×
NEW
45
                        }
×
46

NEW
47
                        return clone;
×
NEW
48
                }
×
49
        }
50
}
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