< Summary

Information
Class: Elsa.Expressions.Liquid.Services.LiquidParser
Assembly: Elsa.Expressions.Liquid
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Expressions.Liquid/Services/LiquidParser.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 18
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)0%620%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Expressions.Liquid/Services/LiquidParser.cs

#LineLine coverage
 1using Elsa.Expressions.Liquid.Options;
 2using Fluid;
 3using Microsoft.Extensions.Options;
 4
 5namespace Elsa.Expressions.Liquid.Services;
 6
 7/// <summary>
 8/// A parser for the Liquid templating engine.
 9/// </summary>
 10public class LiquidParser : FluidParser
 11{
 12    /// <inheritdoc />
 013    public LiquidParser(IOptions<FluidOptions> options)
 14    {
 015        foreach (var configuration in options.Value.ParserConfiguration)
 016            configuration(this);
 017    }
 18}