Example #1
0
 public object Create(Type type)
 {
     return(ProxyGenerator.Create(type, new ServiceProxy(_Context, _AppSettings)));
 }
Example #2
0
 public T Create <T>() where T : class
 {
     return((T)ProxyGenerator.Create(typeof(T), new ServiceProxy(_Context, _AppSettings)));
 }