• 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/Attributes/DxfSubClassAttribute.cs
1
using System;
2

3
namespace ACadSharp.Attributes
4
{
5
        /// <summary>
6
        /// Mark the class as a dxf class equivalent
7
        /// </summary>
8
        [System.AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
9
        public sealed class DxfSubClassAttribute : Attribute
10
        {
11
                /// <summary>
12
                /// Dxf class name
13
                /// </summary>
14
                public string ClassName { get; }
×
15

16
                /// <summary>
17
                /// Flag to mark the classes that don't contain any properties by itself, they are only a base for the subclasses
18
                /// </summary>
19
                public bool IsEmpty { get; }
×
20

21
                public DxfSubClassAttribute(string className)
×
22
                {
×
23
                        this.ClassName = className;
×
24
                }
×
25

26
                public DxfSubClassAttribute(string className, bool isEmpty) : this(className)
×
27
                {
×
28
                        this.IsEmpty = isEmpty;
×
29
                }
×
30
        }
31
}
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