Class EditorConfigContent
- Namespace
- SunamoEditorConfig
- Assembly
- SunamoEditorConfig.dll
Represents the complete content of an EditorConfig file, including the root block and all MASC blocks
public class EditorConfigContent
- Inheritance
-
EditorConfigContent
- Inherited Members
- Extension Methods
Constructors
EditorConfigContent(RootBlock, List<MascBlock>)
Represents the complete content of an EditorConfig file, including the root block and all MASC blocks
public EditorConfigContent(RootBlock rootBlock, List<MascBlock> mascBlocks)
Parameters
rootBlockRootBlockThe root configuration block with global settings
mascBlocksList<MascBlock>The list of MASC (Match And Settings Configuration) blocks for specific file patterns
Properties
MascBlocks
Gets or sets the list of MASC blocks for specific file patterns
public List<MascBlock> MascBlocks { get; set; }
Property Value
RootBlock
Gets or sets the root configuration block with global settings
public RootBlock RootBlock { get; set; }
Property Value
Methods
ToString()
Converts the EditorConfigContent to its string representation in EditorConfig format
public override string ToString()
Returns
- string
The complete EditorConfig formatted string