/// <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 <T>(string appName, T instance) { ServiceProxyResponder.AddAppService <T>(appName, instance); }
public void AddAppService(string appName, Type type, Func <object> instanciator) { ServiceProxyResponder.AddAppService(appName, type, instanciator); }
public void AddAppService <T>(string appName) { ServiceProxyResponder.AddAppService <T>(appName, (T)typeof(T).Construct()); }