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

DomCR / ACadSharp / 12905761471

22 Jan 2025 10:03AM UTC coverage: 2.0% (-74.0%) from 75.963%
12905761471

push

github

DomCR
version 1.0.6

104 of 7676 branches covered (1.35%)

Branch coverage included in aggregate %.

590 of 27024 relevant lines covered (2.18%)

5.13 hits per line

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

0.0
/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="Node"/>
8
        /// objects.
9
        /// </summary>
10
        [DxfName(DxfFileToken.ObjectEvalGraph)]
11
        [DxfSubClass(DxfSubclassMarker.EvalGraph)]
12
        public partial class EvaluationGraph : NonGraphicalObject
13
        {
14
                /// <summary>
15
                /// Dictionary entry name for the object <see cref="EvaluationGraph"/>
16
                /// </summary>
17
                public const string DictionaryEntryName = "ACAD_ENHANCEDBLOCK";
18

19
                /// <inheritdoc/>
20
                public override ObjectType ObjectType => ObjectType.UNLISTED;
×
21

22
                /// <inheritdoc/>
23
                public override string ObjectName => DxfFileToken.ObjectEvalGraph;
×
24

25
                /// <inheritdoc/>
26
                public override string SubclassMarker => DxfSubclassMarker.EvalGraph;
×
27

28
                [DxfCodeValue(96)]
29
                public int Value96 { get; set; }
×
30

31
                [DxfCodeValue(97)]
32
                public int Value97 { get; set; }
×
33

34
                /// <summary>
35
                /// Gets a list of <see cref="Node"/> objects.
36
                /// </summary>
37
                public IList<Node> Nodes { get; private set; } = new List<Node>();
×
38

39
                public IList<Edge> Edges { get; private set; } = new List<Edge>();
×
40

41
                public EvaluationGraph() { }
×
42

43
                /// <inheritdoc/>
44
                public override CadObject Clone()
45
                {
×
46
                        EvaluationGraph clone = (EvaluationGraph)base.Clone();
×
47

48
                        clone.Nodes = new List<Node>();
×
49
                        foreach (var item in this.Nodes)
×
50
                        {
×
51
                                clone.Nodes.Add((Node)item.Clone());
×
52
                        }
×
53

54
                        return clone;
×
55
                }
×
56
        }
57
}
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