public static IContainerAdapter RegisterType <TFrom, TTo>(this IContainerAdapter adapter) where TTo : TFrom { { Lokad.Enforce.Argument(() => adapter); } return(adapter.RegisterInstanceType <TFrom, TTo>()); }
public static IContainerAdapter RegisterType <TFrom, TTo>(this IContainerAdapter adapter) where TTo : TFrom { { Lokad.Enforce.Argument(() => adapter); } return(adapter.RegisterInstanceType <TFrom, TTo>()); }