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