packages/Windows API Code Pack 1.1/source/Samples/DirectX/CS/UtilitiesLibrary/MeshLoader/XMeshLoader.XDataObject.cs
/// <summary>
/// Retrieves an <see cref="XDataObject" /> with the given key.
/// </summary>
/// <param name="key">The key of the object being requested.</param>
/// <returns>The <see cref="XDataObject" /> with the given key in the factory's cache, null if the object is not present.</returns>
Retrieves an  with the given key.
Retrieves an with the given key .
private XDataObject RetrieveObject(string key)
            {
                if (objectDictionary.ContainsKey(key))
                {
                    return objectDictionary[key];
                }
                return null;
            }
private XDataObject RetrieveObject ( string key ) { if ( objectDictionary . ContainsKey ( key ) ) { return objectDictionary [ key ] ; } return null ; }
Retrieves an  with the given key.
Retrieves an with the given key .
The  with the given key in the factory's cache, null if the object is not present.
The with the given key in the factory ' s cache null if the object is not present .
key
string
The key of the object being requested.
The key of the object being requested .