< Summary

Information
Class: MyNet.UI.Dialogs.ContentDialogs.ContentDialogLifecycleEventArgs
Assembly: MyNet.UI
File(s): https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.UI/Dialogs/ContentDialogs/ContentDialogLifecycleEventArgs.cs
Tag: 323_28699572109
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 21
Line coverage: 100%
Branch coverage
50%
Covered branches: 1
Total branches: 2
Branch coverage: 50%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)50%22100%

File(s)

https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.UI/Dialogs/ContentDialogs/ContentDialogLifecycleEventArgs.cs

#LineLine coverage
 1// -----------------------------------------------------------------------
 2// <copyright file="ContentDialogLifecycleEventArgs.cs" company="Stéphane ANDRE">
 3// Copyright (c) Stéphane ANDRE. All rights reserved.
 4// </copyright>
 5// -----------------------------------------------------------------------
 6
 7using System;
 8
 9namespace MyNet.UI.Dialogs.ContentDialogs;
 10
 11/// <summary>
 12/// Event data for content dialog lifecycle notifications.
 13/// </summary>
 614public sealed class ContentDialogLifecycleEventArgs(IDialog dialog) : EventArgs
 15{
 16    /// <summary>
 17    /// Gets the dialog involved in the lifecycle transition.
 18    /// </summary>
 619    public IDialog Dialog { get; } = dialog ?? throw new ArgumentNullException(nameof(dialog));
 20}
 21