public void addServantLocator(ServantLocator locator, string prefix) { lock (this) { checkForDeactivation(); _servantManager.addServantLocator(locator, prefix); } }
public void addServantLocator(ServantLocator locator, string prefix) { lock(this) { checkForDeactivation(); _servantManager.addServantLocator(locator, prefix); } }
public void addServantLocator(ServantLocator locator, string prefix) { _m.Lock(); try { checkForDeactivation(); _servantManager.addServantLocator(locator, prefix); } finally { _m.Unlock(); } }