Summary

Class:ProjectX.PublicApi.Actions.Categories.GetCategoriesQuery
Assembly:ProjectX.PublicApi
File(s):C:\private\projects\projectx\backend\src\ProjectX.PublicApi\Actions\Categories\GetCategoriesQuery.cs
Covered lines:2
Uncovered lines:0
Coverable lines:2
Total lines:22
Line coverage:100%

History

Metrics

MethodCyclomatic complexity  NPath complexity  Sequence coverage  Branch coverage  
.ctor()10100100

File(s)

C:\private\projects\projectx\backend\src\ProjectX.PublicApi\Actions\Categories\GetCategoriesQuery.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace ProjectX.PublicApi.Actions.Categories
 4{
 5    /// <summary>
 6    /// Query for fetching list of Event Categories
 7    /// </summary>
 8    public class GetCategoriesQuery
 9    {
 10        /// <summary>
 11        /// Items to retrieve
 12        /// </summary>
 13        [Range(1, 1000)]
 1814        public int Take { get; set; } = 10;
 15
 16        /// <summary>
 17        /// Items to skip
 18        /// </summary>
 19        [Range(0, int.MaxValue)]
 1220        public int Skip { get; set; }
 21    }
 22}