If you ask about adding a constraint to a specific interface, this is simple:
public void Register<T>( T data ) where T : ISomeInterface
, class struct T, .
:
public void Register<T>( T data ) where T : class
:
public void Register<T>( T data ) where T : interface