< Summary

Information
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 26
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.UI/ViewModels/Shell/Abstractions/ShellOptions.cs

#LineLine coverage
 1// -----------------------------------------------------------------------
 2// <copyright file="ShellOptions.cs" company="Stéphane ANDRE">
 3// Copyright (c) Stéphane ANDRE. All rights reserved.
 4// </copyright>
 5// -----------------------------------------------------------------------
 6
 7#pragma warning disable IDE0130
 8namespace MyNet.UI.ViewModels.Shell;
 9#pragma warning restore IDE0130
 10
 11/// <summary>
 12/// Shell host behavior options.
 13/// </summary>
 14public sealed class ShellOptions
 15{
 16    /// <summary>
 17    /// Gets the default options.
 18    /// </summary>
 319    public static ShellOptions Default { get; } = new();
 20
 21    /// <summary>
 22    /// Gets a value indicating whether only one shell drawer may be open at a time.
 23    /// </summary>
 24    public bool MutuallyExclusiveDrawers { get; init; } = true;
 25}
 26

Methods/Properties

.cctor()