< Summary

Information
Class: MyNet.Observable.UnknownValue
Assembly: MyNet.Observable
File(s): https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.Observable/Base/UnknownValue.cs
Tag: 323_28699572109
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 21
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
.cctor()100%11100%

File(s)

https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.Observable/Base/UnknownValue.cs

#LineLine coverage
 1// -----------------------------------------------------------------------
 2// <copyright file="UnknownValue.cs" company="Stéphane ANDRE">
 3// Copyright (c) Stéphane ANDRE. All rights reserved.
 4// </copyright>
 5// -----------------------------------------------------------------------
 6
 7#pragma warning disable IDE0130 // Namespace does not match folder structure
 8namespace MyNet.Observable;
 9#pragma warning restore IDE0130 // Namespace does not match folder structure
 10
 11/// <summary>
 12/// Represents a singleton object used to indicate an unknown value in scenarios where a specific value is not available
 13/// </summary>
 14public static class UnknownValue
 15{
 16    /// <summary>
 17    /// Gets the singleton instance of the <see cref="UnknownValue"/> class, which can be used to represent an unknown v
 18    /// </summary>
 619    public static readonly object Instance = new();
 20}
 21

Methods/Properties

.cctor()