< Summary - SonghayCore

Information
Class: Songhay.Models.LazyDisplayItem<T>
Assembly: SonghayCore
File(s): /home/rasx/sourceRoot/SonghayCore/SonghayCore/Models/LazyDisplayItem.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 24
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Method coverage is only available for sponsors.

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_DisplayName()100%10%
get_LazyItem()100%10%
get_Name()100%10%

File(s)

/home/rasx/sourceRoot/SonghayCore/SonghayCore/Models/LazyDisplayItem.cs

#LineLine coverage
 1namespace Songhay.Models;
 2
 3/// <summary>
 4/// Wraps a lazy-initialized object
 5/// with meta-data for display.
 6/// </summary>
 7/// <typeparam name="T"></typeparam>
 8public class LazyDisplayItem<T>
 9{
 10    /// <summary>
 11    /// Gets or sets the targetValues name.
 12    /// </summary>
 013    public string? DisplayName { get; set; }
 14
 15    /// <summary>
 16    /// Gets or sets the lazy item.
 17    /// </summary>
 018    public Lazy<T?>? LazyItem { get; set; }
 19
 20    /// <summary>
 21    /// Gets or sets the name.
 22    /// </summary>
 023    public string? Name { get; set; }
 24}