packages/Windows API Code Pack 1.1/source/Samples/DirectX/CS/UtilitiesLibrary/MeshLoader/XMesh.cs
/// <summary>
/// Releases resources no longer needed.
/// </summary>
Releases resources no longer needed.
Releases resources no longer needed .
protected virtual void Dispose(bool disposing)
        {
            if (!disposed && rootParts != null)
            {
                foreach (Part part in rootParts)
                {
                    DisposePart(part);
                }
                rootParts = null;
                disposed = true;
            }
        }
protected virtual void Dispose ( bool disposing ) { if ( ! disposed && rootParts != null ) { foreach ( Part part in rootParts ) { DisposePart ( part ) ; } rootParts = null ; disposed = true ; } }
Releases resources no longer needed.
Releases resources no longer needed .
disposing
bool