< Summary

Information
Class: Elsa.Expressions.Liquid.Helpers.ConfigurationSectionWrapper
Assembly: Elsa.Expressions.Liquid
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Expressions.Liquid/Helpers/ConfigurationSectionWrapper.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 10
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
.ctor(...)100%210%
ToString()100%210%
GetSection(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Expressions.Liquid/Helpers/ConfigurationSectionWrapper.cs

#LineLine coverage
 1using Microsoft.Extensions.Configuration;
 2
 3namespace Elsa.Expressions.Liquid.Helpers;
 4
 05public class ConfigurationSectionWrapper(IConfigurationSection section)
 6{
 07    public override string ToString() => section.Value!;
 8
 09    public ConfigurationSectionWrapper GetSection(string name) => new(section.GetSection(name));
 10}