/// <summary> /// Returns the Remoting client environment instance for a <paramref name="serviceName">service name</paramref>. /// </summary> /// <param name="serviceName">Name of the service to search.</param> /// <returns>Returns the client environment instance for a <paramref name="serviceName">service name</paramref>.</returns> public static ClientEnvironment GetInstanceRemoting(string serviceName) { if (!instancesRemoting.ContainsKey(serviceName)) { ClientEnvironment environment = new ClientEnvironmentRemoting(serviceName); environment.Start(); instancesRemoting.Add(serviceName, environment); } return(instancesRemoting[serviceName]); }
/// <summary> /// Returns the Remoting client environment instance for a <paramref name="serviceName">service name</paramref>. /// </summary> /// <param name="serviceName">Name of the service to search.</param> /// <returns>Returns the client environment instance for a <paramref name="serviceName">service name</paramref>.</returns> public static ClientEnvironment GetInstanceRemoting(string serviceName) { if (!instancesRemoting.ContainsKey(serviceName)) { ClientEnvironment environment = new ClientEnvironmentRemoting(serviceName); environment.Start(); instancesRemoting.Add(serviceName, environment); } return instancesRemoting[serviceName]; }