src/Markdig/Helpers/CompactPrefixTree.cs
/// <summary>
/// Gets the value associated with the specified key
/// </summary>
/// <param name="key">The key of the value to get</param>
/// <param name="value">The value associated with the specified key</param>
/// <returns>True if the key is contained in this PrefixTree, false otherwise.</returns>
Gets the value associated with the specified key
Gets the value associated with the specified key
public bool TryGetValue(string key, out TValue value)
        {
            bool ret = TryMatchExact(key.AsSpan(), out KeyValuePair<string, TValue> match);
            value = match.Value;
            return ret;
        }
public bool TryGetValue ( string key , out TValue value ) { bool ret = TryMatchExact ( key . AsSpan ( ) , out KeyValuePair < string , TValue > match ) ; value = match . Value ; return ret ; }
Gets the value associated with the specified key
Gets the value associated with the specified key
True if the key is contained in this PrefixTree, false otherwise.
True if the key is contained in this PrefixTree false otherwise .
key
string
The key of the value to get
The key of the value to get
TValue
out
value
The value associated with the specified key
The value associated with the specified key