< Summary

Information
Class: MyNet.UI.Notifications.Models.MessageNotification
Assembly: MyNet.UI
File(s): https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.UI/Notifications/Models/MessageNotification.cs
Tag: 323_28699572109
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 19
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
.ctor(...)100%11100%

File(s)

https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.UI/Notifications/Models/MessageNotification.cs

#LineLine coverage
 1// -----------------------------------------------------------------------
 2// <copyright file="MessageNotification.cs" company="Stéphane ANDRE">
 3// Copyright (c) Stéphane ANDRE. All rights reserved.
 4// </copyright>
 5// -----------------------------------------------------------------------
 6
 7namespace MyNet.UI.Notifications.Models;
 8
 9/// <summary>
 10/// Represents a simple notification message with a title and severity.
 11/// </summary>
 12/// <remarks>
 13/// Initializes a new instance of the <see cref="MessageNotification"/> class.
 14/// </remarks>
 15/// <param name="message">The message content.</param>
 16/// <param name="title">The title of the notification.</param>
 17/// <param name="severity">The severity of the notification.</param>
 12318public class MessageNotification(string message, string? title = "", NotificationSeverity severity = NotificationSeverit
 19