• 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/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;
×
21

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

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

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

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

41
                /// <inheritdoc/>
42
                public override BoundingBox GetBoundingBox()
43
                {
×
44
                        return BoundingBox.Null;
×
45
                }
×
46
        }
47
}
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