< Summary

Information
Class: Elsa.Api.Client.Shared.UIHints.CodeEditor.CodeEditorOptions
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Shared/UIHints/CodeEditor/CodeEditorOptions.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 19
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_EditorHeight()100%210%
get_Language()100%210%
get_SingleLineMode()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Shared/UIHints/CodeEditor/CodeEditorOptions.cs

#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace Elsa.Api.Client.Shared.UIHints.CodeEditor;
 4
 5/// <summary>
 6/// Options for the code editor component.
 7/// </summary>
 8[PublicAPI]
 9public class CodeEditorOptions
 10{
 11    /// <summary>The height of the editor.</summary>
 012    public EditorHeight? EditorHeight { get; set; }
 13
 14    /// <summary>The language to use for syntax highlighting.</summary>
 015    public string? Language { get; set; }
 16
 17    /// <summary>Whether the editor should be in single line mode.</summary>
 018    public bool? SingleLineMode { get; set; }
 19}