• 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/DxfCodeValueAttribute.cs
1
using System;
2
using System.Linq;
3

4
namespace ACadSharp.Attributes
5
{
6
        [System.AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
7
        public sealed class DxfCodeValueAttribute : Attribute, ICodeValueAttribute
8
        {
9
                /// <inheritdoc/>
10
                public DxfCode[] ValueCodes { get; }
×
11

12
                /// <inheritdoc/>
13
                public DxfReferenceType ReferenceType { get; }
×
14

15
                public DxfCodeValueAttribute(params int[] codes)
×
16
                {
×
17
                        this.ValueCodes = codes.Select(c => (DxfCode)c).ToArray();
×
18
                }
×
19

20
                public DxfCodeValueAttribute(DxfReferenceType referenceType, params int[] codes) : this(codes)
×
21
                {
×
22
                        this.ReferenceType = referenceType;
×
23
                }
×
24
        }
25
}
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

© 2025 Coveralls, Inc