/// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> /// <filterpriority>2</filterpriority> public void Dispose() { _context.IfNotNull(x => x.ComponentRegistry.IfNotNull(y => y.Dispose())); }