< Summary

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

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Options/RolesOptions.cs

#LineLine coverage
 1using Elsa.Identity.Entities;
 2
 3namespace Elsa.Identity.Options;
 4
 5/// <summary>
 6/// Represents options that stores available roles.
 7/// </summary>
 8public class RolesOptions
 9{
 10    /// <summary>
 11    /// Gets or sets the roles.
 12    /// </summary>
 013    public ICollection<Role> Roles { get; set; } = new List<Role>();
 14}

Methods/Properties

get_Roles()