Added VDF Generator
This commit is contained in:
14
007SaveTool/VdfGenerator/KeyValue/Models/KeyValuePair.cs
Normal file
14
007SaveTool/VdfGenerator/KeyValue/Models/KeyValuePair.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user