< Summary

Information
Class: MyNet.Mail.Models.SendResponse
Assembly: MyNet.Mail
File(s): https://raw.githubusercontent.com/sandre58/MyNet/5aaaab311aa14541478b9e402357d98b657a23e4/src/MyNet.Mail/Models/SendResponse.cs
Tag: 342_31701152804
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
get_Successful()100%11100%

File(s)

https://raw.githubusercontent.com/sandre58/MyNet/5aaaab311aa14541478b9e402357d98b657a23e4/src/MyNet.Mail/Models/SendResponse.cs

#LineLine coverage
 1// -----------------------------------------------------------------------
 2// <copyright file="SendResponse.cs" company="Stéphane ANDRE">
 3// Copyright (c) Stéphane ANDRE. All rights reserved.
 4// </copyright>
 5// -----------------------------------------------------------------------
 6
 7using System.Collections.Generic;
 8
 9namespace MyNet.Mail.Models;
 10
 11public class SendResponse
 12{
 13    public string MessageId { get; set; } = string.Empty;
 14
 15    public IList<string> ErrorMessages { get; } = [];
 16
 1517    public bool Successful => ErrorMessages.Count == 0;
 18}
 19

Methods/Properties

get_Successful()