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