Files
2026-05-31 11:06:50 +02:00

14 lines
635 B
C#

using EonaCat.FirstLight.SaveTransfer.VdfGenerator.KeyValue.Interfaces;
namespace EonaCat.FirstLight.SaveTransfer.VdfGenerator.KeyValue.Models;
/// <summary>
/// Represents a key-value pair node with immutable key and value properties.
/// </summary>
/// <param name="key">The key associated with the pair. If not specified, an empty string is used.</param>
/// <param name="value">The value associated with the pair. If not specified, an empty string is used.</param>
public class KeyValuePair(string key = "", string value = "") : IKeyValueNode
{
public string Key { get; } = key;
public string Value { get; } = value;
}