Table of Contents

Class Definition

Namespace
SunamoEditorConfig
Assembly
SunamoEditorConfig.dll

Represents a single key-value definition in an EditorConfig file (e.g., "indent_style = space")

public class Definition
Inheritance
Definition
Inherited Members
Extension Methods

Constructors

Definition(string, string)

Initializes a new instance of the Definition class

public Definition(string key, string value)

Parameters

key string

The setting key (e.g., "indent_style")

value string

The setting value (e.g., "space")

Properties

Key

Gets or sets the setting key

public string Key { get; set; }

Property Value

string

Value

Gets or sets the setting value

public string Value { get; set; }

Property Value

string

Methods

ToString()

Converts the definition to its string representation in EditorConfig format (key=value)

public override string ToString()

Returns

string

The EditorConfig formatted string