SourceName Property

Definition

Namespace SharpYaml
Assembly SharpYaml.dll

Gets or sets an optional name for the YAML source.

public string? SourceName { get; init; }

Returns

Remarks

This value is used to annotate YamlException messages with a source name (for example, a file path) when reporting parse errors.