< Summary

Information
Class: Pozitron.QuerySpecification.IncludableSpecificationBuilder<T1, T2, T3>
Assembly: Pozitron.QuerySpecification
File(s): /home/runner/work/QuerySpecification/QuerySpecification/src/QuerySpecification/Builders/IncludableSpecificationBuilder.cs
Tag: 52_11740816328
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 30
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/QuerySpecification/QuerySpecification/src/QuerySpecification/Builders/IncludableSpecificationBuilder.cs

#LineLine coverage
 1namespace Pozitron.QuerySpecification;
 2
 3/// <summary>
 4/// Represents a specification builder that supports include operations.
 5/// </summary>
 6/// <typeparam name="T">The type of the entity.</typeparam>
 7/// <typeparam name="TResult">The type of the result.</typeparam>
 8/// <typeparam name="TProperty">The type of the property.</typeparam>
 9public interface IIncludableSpecificationBuilder<T, TResult, out TProperty> : ISpecificationBuilder<T, TResult> where T 
 10{
 11}
 12
 13/// <summary>
 14/// Represents a specification builder that supports include operations.
 15/// </summary>
 16/// <typeparam name="T">The type of the entity.</typeparam>
 17/// <typeparam name="TProperty">The type of the property.</typeparam>
 18public interface IIncludableSpecificationBuilder<T, out TProperty> : ISpecificationBuilder<T> where T : class
 19{
 20}
 21
 22internal class IncludableSpecificationBuilder<T, TResult, TProperty>(Specification<T, TResult> specification)
 6623    : SpecificationBuilder<T, TResult>(specification), IIncludableSpecificationBuilder<T, TResult, TProperty> where T : 
 24{
 25}
 26
 27internal class IncludableSpecificationBuilder<T, TProperty>(Specification<T> specification)
 28    : SpecificationBuilder<T>(specification), IIncludableSpecificationBuilder<T, TProperty> where T : class
 29{
 30}