< Summary

Information
Class: Elsa.Api.Client.Resources.Features.Models.FeatureDescriptor
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/Features/Models/FeatureDescriptor.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 35
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_Name()100%210%
get_Namespace()100%210%
get_FullName()100%210%
get_DisplayName()100%210%
get_Description()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/Features/Models/FeatureDescriptor.cs

#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace Elsa.Api.Client.Resources.Features.Models;
 4
 5/// <summary>
 6/// Represents a feature descriptor.
 7/// </summary>
 8[PublicAPI]
 9public class FeatureDescriptor
 10{
 11    /// <summary>
 12    /// Gets or sets the name of the feature.
 13    /// </summary>
 014    public string Name { get; set; } = default!;
 15
 16    /// <summary>
 17    /// Gets or sets the namespace of the feature.
 18    /// </summary>
 019    public string Namespace { get; set; } = default!;
 20
 21    /// <summary>
 22    /// Gets the full name of the feature.
 23    /// </summary>
 024    public string FullName { get; set; } = default!;
 25
 26    /// <summary>
 27    /// The display name for the feature.
 28    /// </summary>
 029    public string DisplayName { get; set; } = default!;
 30
 31    /// <summary>
 32    /// The description of the feature.
 33    /// </summary>
 034    public string Description { get; set; } = "";
 35}