public void Dispose() { var scope = Scope.ObtainCurrentScope(); if (scope != null) { scope.Dispose(); } }