< Summary

Information
Class: Fluorite.Strainer.Models.Sorting.CustomSortMethod
Assembly: Fluorite.Strainer
File(s): /builds/fluorite/strainer/src/Strainer/Models/Sorting/CustomSortMethod.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 18
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%
get_Name()100%11100%

File(s)

/builds/fluorite/strainer/src/Strainer/Models/Sorting/CustomSortMethod.cs

#LineLine coverage
 1namespace Fluorite.Strainer.Models.Sorting;
 2
 3public class CustomSortMethod : ICustomSortMethod
 4{
 5    /// <summary>
 6    /// Initializes a new instance of the <see cref="CustomSortMethod"/> class.
 7    /// </summary>
 8    /// <param name="name">
 9    /// The custom method name.
 10    /// </param>
 511    public CustomSortMethod(string name)
 12    {
 513        Name = Guard.Against.NullOrWhiteSpace(name);
 514    }
 15
 16    /// <inheritdoc/>
 717    public string Name { get; }
 18}

Methods/Properties

.ctor(System.String)
get_Name()