Editor/Core/Graph/GraphKvString.cs

A small immutable value class in the WeaponImporter editor graph tooling. Stores a single string payload for a graph key-value node and rejects null values in the constructor.

#nullable enable annotations

using System.Collections;
using System.Globalization;
using System.Text;

namespace WeaponImporter.EditorTools.Core.Graph;

public sealed class GraphKvString : GraphKvValue
{
    public string Value { get; }
    public GraphKvString(string value) => Value = value ?? throw new ArgumentNullException(nameof(value));
}