Esempio n. 1
0
 /// <summary>
 /// Creates a connection to the concrete object handling method calls on the server side
 /// </summary>
 /// <param name="endpoint"></param>
 public DistributedChannel(Type serviceType, DistributedEndPoint endpoint)
 {
     _endpoint = endpoint;
     SyncInterface(null);
 }
 public static TInterface CreateProxy <TInterface>(DistributedEndPoint endpoint) where TInterface : class
 {
     return(ProxyFactory.CreateProxy <TInterface>(typeof(DistributedChannel), typeof(DistributedEndPoint), endpoint));
 }