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

DomCR / ACadSharp / 14305968221

07 Apr 2025 09:41AM UTC coverage: 75.187% (-1.0%) from 76.181%
14305968221

push

github

DomCR
badge fix

5615 of 8186 branches covered (68.59%)

Branch coverage included in aggregate %.

22386 of 29056 relevant lines covered (77.04%)

72281.98 hits per line

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

88.24
/src/ACadSharp/Blocks/BlockEnd.cs
1
using ACadSharp.Attributes;
2
using ACadSharp.Entities;
3
using ACadSharp.Tables;
4
using CSMath;
5

6
namespace ACadSharp.Blocks
7
{
8
        /// <summary>
9
        /// Represents a <see cref="BlockEnd"/> entity
10
        /// </summary>
11
        /// <remarks>
12
        /// Object name <see cref="DxfFileToken.EndBlock"/> <br/>
13
        /// Dxf class name <see cref="DxfSubclassMarker.BlockEnd"/>
14
        /// </remarks>
15
        [DxfName(DxfFileToken.EndBlock)]
16
        [DxfSubClass(DxfSubclassMarker.BlockEnd)]
17
        public class BlockEnd : Entity
18
        {
19
                /// <inheritdoc/>
20
                public override string ObjectName => DxfFileToken.EndBlock;
531✔
21

22
                /// <inheritdoc/>
23
                public override ObjectType ObjectType => ObjectType.ENDBLK;
169✔
24

25
                /// <inheritdoc/>
26
                public override string SubclassMarker => DxfSubclassMarker.BlockEnd;
2✔
27

28
                public BlockEnd(BlockRecord record) : base()
20,650✔
29
                {
20,650✔
30
                        this.Owner = record;
20,650✔
31
                }
20,650✔
32

33
                /// <inheritdoc/>
34
                public override CadObject Clone()
35
                {
120✔
36
                        BlockEnd clone = (BlockEnd)base.Clone();
120✔
37
                        clone.Owner = new BlockRecord((this.Owner as BlockRecord).Name);
120✔
38
                        return clone;
120✔
39
                }
120✔
40

41
                /// <inheritdoc/>
42
                public override BoundingBox GetBoundingBox()
43
                {
1✔
44
                        return BoundingBox.Null;
1✔
45
                }
1✔
46

47
                /// <inheritdoc/>
48
                public override void ApplyTransform(Transform transform)
49
                {
×
50
                }
×
51
        }
52
}
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