integrate Revit 2025 SDK

This commit is contained in:
Jeremy Tammik
2024-04-11 13:47:20 +02:00
parent e786953544
commit f414362f2b
889 changed files with 26676 additions and 26865 deletions
+16 -1
View File
@@ -34,7 +34,7 @@ namespace Revit.SDK.Samples.DoorSwing.CS
/// The DoorGeometry object is used to transform Revit geometry data
/// to appropriate format for GDI.
/// </summary>
public class DoorGeometry
public class DoorGeometry : IDisposable
{
#region "Members"
@@ -312,6 +312,21 @@ namespace Revit.SDK.Samples.DoorSwing.CS
}
}
protected virtual void Dispose(bool disposing)
{
if (disposing)
{
((IDisposable)m_options)?.Dispose();
((IDisposable)m_bbox)?.Dispose();
}
}
public void Dispose()
{
Dispose(disposing: true);
GC.SuppressFinalize(this);
}
#endregion
}
}