/// <summary> /// Add or update the app service using the specified instanciator /// </summary> /// <typeparam name="T"></typeparam> /// <param name="appName"></param> /// <param name="instanciator"></param> public void AddAppService <T>(string appName, Func <Type, T> instanciator) { ServiceProxyResponder.AddAppService <T>(appName, instanciator); }
public void AddAppService(string appName, Type type, Func <object> instanciator) { ServiceProxyResponder.AddAppService(appName, type, instanciator); }
public void AddAppServies(string appName, Incubator incubator) { ServiceProxyResponder.AddAppServices(appName, incubator); }
public void AddAppService <T>(string appName, T instance) { ServiceProxyResponder.AddAppService <T>(appName, instance); }
public void AddAppService <T>(string appName) { ServiceProxyResponder.AddAppService <T>(appName, (T)typeof(T).Construct()); }
public void AddCommonService <T>(T instance) { ServiceProxyResponder.AddCommonService <T>(instance); }
public void AddCommonService <T>() { ServiceProxyResponder.AddCommonService <T>((T)typeof(T).Construct()); }
protected void SetServiceProxyResponder() { _serviceProxyResponder = new ServiceProxyResponder(GetCurrentConf(true), MainLogger); _serviceProxyResponder.ContentResponder = ContentResponder; AddResponder(_serviceProxyResponder); }