/// <summary> /// Remove an existing remoting mechanism. /// </summary> /// <param name="remotingMechanism">The remoting mechanism to remove.</param> public void RemoveRemotingMechanism(RemotingMechanism remotingMechanism) { if (RemotingMechanisms.Contains(remotingMechanism)) { RemotingMechanisms.Remove(remotingMechanism); } BindRemotingMechanisms(); }
/// <summary> /// Adds another remoting mechanism. /// </summary> /// <param name="remotingMechanism">The remoting mechanism to add.</param> public void AddRemotingMechanism(RemotingMechanism remotingMechanism) { if (!RemotingMechanisms.Contains(remotingMechanism)) { RemotingMechanisms.Add(remotingMechanism); } BindRemotingMechanisms(); }