/// <summary>
 /// Unregisters a component with the component container.
 /// </summary>
 /// <typeparam name="T">The type the component instance will represent (usually an interface).</typeparam>
 /// <param name="container">The container to register the component with.</param>
 public static void Unregister <T>(this IComponentContainer container)
 {
     container.RemoveRegisteredComponent <T>();
 }