<PackageReference Include="NUnit" Version="5.0.0" />

NUnit.Framework.Interfaces.TNode

public sealed class TNode
namespace NUnit.Framework { public abstract class TestCaseDataBase<[Nullable(0)] TSelf> : TestCaseParameters where TSelf : TestCaseDataBase<TSelf> { protected abstract TSelf GetSelf(); protected TestCaseDataBase(params object[] args); public static implicit operator TestCaseData(TestCaseDataBase<TSelf> this); public TSelf SetName(string name); public TSelf SetArgDisplayNames(params string[] displayNames); public TSelf SetArgDisplayNames(params object[] displayNames); public TSelf SetDescription(string description); public TSelf SetCategory(string category); public TSelf SetProperty(string propName, string propValue); public TSelf SetProperty(string propName, int propValue); public TSelf SetProperty(string propName, double propValue); public TSelf Explicit(); public TSelf Explicit(string reason); public IgnoredTestCaseData Ignore(string reason); } } namespace NUnit.Framework.Interfaces { public sealed class TNode { public readonly struct NodeList : IEnumerable<TNode>, IEnumerable { public TNode this[int index] { [MethodImpl(MethodImplOptions.AggressiveInlining)] get; } public int Count { get; } public List<TNode>.Enumerator GetEnumerator(); } public readonly struct AttributeDictionary { [Nullable(2)] public string this[string key] { [MethodImpl(MethodImplOptions.AggressiveInlining)] [return: Nullable(2)] get; } public int Count { get; } public Dictionary<string, string>.Enumerator GetEnumerator(); } public string Name { get; } public string Value { get; set; } public bool ValueIsCDATA { get; set; } public AttributeDictionary Attributes { get; } public NodeList ChildNodes { get; } public TNode FirstChild { get; } public string OuterXml { get; } public TNode(string name); public TNode(string name, string value); public TNode(string name, string value, bool valueIsCDATA); public static TNode FromXml(string xmlText); public TNode AddElement(string name); public TNode AddElement(string name, string value); public TNode AddElementWithCDATA(string name, string value); public void AddChildNode(TNode node); public void InsertChildNode(int index, TNode node); public void AddAttribute(string name, string value); public TNode SelectSingleNode(string xpath); public List<TNode> SelectNodes(string xpath); public void WriteTo(XmlWriter writer); } }