예제 #1
0
 public static ServiceProxy CreateProxy(RemoteServiceSettings remoteServiceSettings, Func <ServiceProxy> delFunc)
 {
     return(!remoteServiceSettings.IsLocal
         ? new LocalServiceProxy(remoteServiceSettings).GetInstance(remoteServiceSettings, delFunc)
         : new RemoteServiceProxy(remoteServiceSettings).GetInstance(remoteServiceSettings, delFunc));
 }
예제 #2
0
 public LocalServiceProxy(RemoteServiceSettings remoteServiceSettings)
 => _remoteServiceSettings = remoteServiceSettings;
예제 #3
0
 public ServiceProxy(RemoteServiceSettings settings)
 {
     _settings = settings;
 }