< Summary

Information
Class: MyNet.UI.Loading.Models.DeterminateBusy
Assembly: MyNet.UI
File(s): https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.UI/Loading/Models/DeterminateBusy.cs
Tag: 323_28699572109
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 34
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
set_Message(...)100%11100%
set_Value(...)100%11100%
set_Maximum(...)100%11100%
set_Minimum(...)100%11100%

File(s)

https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.UI/Loading/Models/DeterminateBusy.cs

#LineLine coverage
 1// -----------------------------------------------------------------------
 2// <copyright file="DeterminateBusy.cs" company="Stéphane ANDRE">
 3// Copyright (c) Stéphane ANDRE. All rights reserved.
 4// </copyright>
 5// -----------------------------------------------------------------------
 6
 7namespace MyNet.UI.Loading.Models;
 8
 9/// <summary>
 10/// Busy state for a single operation with a known progress range (progress bar).
 11/// </summary>
 12public class DeterminateBusy : Busy
 13{
 14    /// <summary>
 15    /// Gets or sets the message displayed during the busy operation.
 16    /// </summary>
 317    public string? Message { get; set => SetProperty(ref field, value); }
 18
 19    /// <summary>
 20    /// Gets or sets the current progress value of the busy operation.
 21    /// </summary>
 322    public double Value { get; set => SetProperty(ref field, value); }
 23
 24    /// <summary>
 25    /// Gets or sets the maximum value for the progress indicator.
 26    /// </summary>
 327    public double Maximum { get; set => SetProperty(ref field, value); } = 1;
 28
 29    /// <summary>
 30    /// Gets or sets the minimum value for the progress indicator.
 31    /// </summary>
 332    public double Minimum { get; set => SetProperty(ref field, value); }
 33}
 34