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

loresoft / FluentCommand / 15638433985

13 Jun 2025 03:39PM UTC coverage: 54.709% (+0.5%) from 54.174%
15638433985

push

github

pwelter34
misc updates

1692 of 3584 branches covered (47.21%)

Branch coverage included in aggregate %.

114 of 156 new or added lines in 9 files covered. (73.08%)

15 existing lines in 5 files now uncovered.

4291 of 7352 relevant lines covered (58.37%)

233.09 hits per line

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

0.0
/src/FluentCommand/Attributes/GenerateReaderAttribute.cs
1
using System.Diagnostics;
2

3
namespace FluentCommand.Attributes;
4

5
/// <summary>
6
/// Specifies that a source generator should create a data reader for the given type.
7
/// </summary>
8
/// <remarks>
9
/// Apply this attribute to an assembly, class, interface, or module to indicate that a data reader should be generated
10
/// for the specified <see cref="Type"/>. This is typically used in conjunction with source generators.
11
/// </remarks>
12
/// <example>
13
/// <code>
14
/// [assembly: GenerateReader(typeof(Product))]
15
/// </code>
16
/// </example>
17
/// <param name="type">
18
/// The <see cref="Type"/> for which to generate a data reader. Must not be <c>null</c>.
19
/// </param>
20
[Conditional("FLUENTCOMMAND_GENERATOR")]
21
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Module, AllowMultiple = true)]
22
public class GenerateReaderAttribute(Type type) : Attribute
×
23
{
24
    /// <summary>
25
    /// Gets the type for which the data reader will be generated.
26
    /// </summary>
UNCOV
27
    public Type Type { get; } = type ?? throw new ArgumentNullException(nameof(type));
×
28
}
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