< Summary

Information
Class: Elsa.Identity.Models.CreateUserResult
Assembly: Elsa.Identity
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Models/CreateUserResult.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 14
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_User()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Models/CreateUserResult.cs

#LineLine coverage
 1using Elsa.Identity.Entities;
 2
 3namespace Elsa.Identity.Models;
 4
 5/// <summary>
 6/// Result of a user creation operation.
 7/// </summary>
 8/// <param name="User">The created user entity.</param>
 9/// <param name="Password">The plain-text password (either provided or generated).</param>
 10/// <param name="IsPasswordGenerated">
 11/// <c>true</c> when the manager generated <paramref name="Password"/> because the caller supplied none.
 12/// Only a generated password may be surfaced to the caller; a supplied one is already known to them and must never be e
 13/// </param>
 4214public record CreateUserResult(User User, string Password, bool IsPasswordGenerated = false);

Methods/Properties

get_User()