0
我有這樣的事情:溫莎城堡的IoC,如何IBaseService <TObject>註冊BaseService <TObject的,TRepository>
public interface IBaseService<TObject>
public class BaseService<TObject, TRepository> : IBaseService<TObject>
where TRepository : IRepository<TObject>
我需要註冊BaseService要IBaseService (在IRepository <>註冊)