/// <summary> /// 注册中间件与接口映射关系 /// </summary> /// <param name="implementationType">继承TSservice对象的具体对象</param> /// <param name="serviceType">服务类型</param> /// <param name="key">key</param> /// <param name="lifeStyle">生命周期</param> void IoC.IServiceRegister.RegisterType(Type implementationType, Type serviceType, string key, IoC.ComponentLifeStyle lifeStyle) { }
/// <summary> /// 注册中间件与接口映射关系 /// </summary> /// <typeparam name="TImplementation">继承TSservice对象的具体对象</typeparam> /// <typeparam name="TService">服务类型</typeparam> /// <param name="key">key</param> /// <param name="lifeStyle">生命周期</param> void IoC.IServiceRegister.RegisterType <TImplementation, TService>(string key, IoC.ComponentLifeStyle lifeStyle) { }