public void DisposeNestedContainer() { if (CurrentNestedContainer != null) CurrentNestedContainer.Dispose(); }