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

DomCR / ACadSharp / 12989573089

27 Jan 2025 01:00PM UTC coverage: 76.211% (-0.02%) from 76.227%
12989573089

push

github

web-flow
Merge pull request #544 from DomCR/issue-538_image-reactor

Issue 538 image reactor

5324 of 7714 branches covered (69.02%)

Branch coverage included in aggregate %.

11 of 21 new or added lines in 4 files covered. (52.38%)

6 existing lines in 1 file now uncovered.

21279 of 27193 relevant lines covered (78.25%)

39511.84 hits per line

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

20.0
/src/ACadSharp/Objects/ImageDefinitionReactor.cs
1
using ACadSharp.Attributes;
2
using System;
3

4
namespace ACadSharp.Objects
5
{
6
        /// <summary>
7
        /// Represents a <see cref="ImageDefinitionReactor"/> object.
8
        /// </summary>
9
        /// <remarks>
10
        /// Object name <see cref="DxfFileToken.ObjectImageDefinitionReactor"/> <br/>
11
        /// Dxf class name <see cref="DxfSubclassMarker.RasterImageDefReactor"/>
12
        /// </remarks>
13
        [DxfName(DxfFileToken.ObjectImageDefinitionReactor)]
14
        [DxfSubClass(DxfSubclassMarker.RasterImageDefReactor)]
15
        [Obsolete("This object doesn't seem to be needed for any kind of app.")]
16
        public class ImageDefinitionReactor : NonGraphicalObject
17
        {
18
                /// <inheritdoc/>
19
                public override ObjectType ObjectType => ObjectType.UNLISTED;
×
20

21
                /// <inheritdoc/>
22
                public override string ObjectName => DxfFileToken.ObjectImageDefinitionReactor;
×
23

24
                /// <inheritdoc/>
25
                public override string SubclassMarker => DxfSubclassMarker.RasterImageDefReactor;
×
26

27
                /// <summary>
28
                /// Class version 2.
29
                /// </summary>
30
                [DxfCodeValue(90)]
31
                public int ClassVersion { get; set; }
84✔
32

33
                /// <summary>
34
                /// Object ID for associated image object.
35
                /// </summary>
36
                [DxfCodeValue(DxfReferenceType.Handle, 330)]
37
                public ImageDefinition Definition { get; set; }
×
38

39
                internal ImageDefinitionReactor() { }
252✔
40

NEW
41
                internal ImageDefinitionReactor(ImageDefinition definition)
×
NEW
42
                {
×
NEW
43
                        this.Definition = definition;
×
NEW
44
                }
×
45
        }
46
}
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