Search Results for

    Show / Hide Table of Contents

    Struct TNode.AttributeDictionary

    Class used to represent the attributes of a node

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.GetType()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: NUnit.Framework.Interfaces
    Assembly: nunit.framework.dll
    Syntax
    public readonly struct TNode.AttributeDictionary

    Properties

    View Source

    Count

    Gets the number of key/value pairs contained in the Dictionary<TKey, TValue>.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int
    View Source

    this[string]

    Gets or sets the value associated with the specified key. Overridden to return null if attribute is not found.

    Declaration
    public string? this[string key] { get; }
    Parameters
    Type Name Description
    string key

    The key.

    Property Value
    Type Description
    string

    Value of the attribute or null

    Methods

    View Source

    GetEnumerator()

    Returns an enumerator that iterates through the collection.

    Declaration
    public Dictionary<string, string>.Enumerator GetEnumerator()
    Returns
    Type Description
    Dictionary<string, string>.Enumerator
    • View Source
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0