Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ FindValue()

KeyValuePair< string, T >? System.Text.Json.JsonPropertyDictionary< T >.FindValue ( T value)
inline

Definition at line 404 of file JsonPropertyDictionary.cs.

405 {
407 {
408 while (enumerator.MoveNext())
409 {
410 KeyValuePair<string, T> current = enumerator.Current;
411 if (current.Value == value)
412 {
413 return current;
414 }
415 }
416 }
417 return null;
418 }
IEnumerator< KeyValuePair< string, T > > GetEnumerator()

References System.Text.Json.JsonPropertyDictionary< T >.GetEnumerator(), and System.value.