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

◆ GetObjectInternal()

object System.Resources.ResourceSet.GetObjectInternal ( string name)
inlineprivateinherited

Definition at line 163 of file ResourceSet.cs.

164 {
165 if (name == null)
166 {
167 throw new ArgumentNullException("name");
168 }
170 if (table == null)
171 {
172 throw new ObjectDisposedException(null, SR.ObjectDisposed_ResourceSet);
173 }
174 table.TryGetValue(name, out var value);
175 return value;
176 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
Dictionary< object, object > _table

References System.Resources.ResourceSet._table, System.SR.ObjectDisposed_ResourceSet, System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.

Referenced by System.Resources.ResourceSet.GetObject(), System.Resources.ResourceSet.GetObject(), System.Resources.ResourceSet.GetString(), and System.Resources.ResourceSet.GetString().