/// <summary> /// Remove the given IRegistrationObjectBase from this container, do nothing if it is not in this container /// </summary> /// <param name="registrationObject">Registration Object </param> public void RemoveRegistration(IRegistrationObjectBase registrationObject) { this._registrations.Remove(registrationObject); }
/// <summary> /// Add a IRegistrationObjectBase to this container, overwrite if one already exists with the same URN /// </summary> /// <param name="registrationObject">Registration Object </param> public void AddRegistration(IRegistrationObjectBase registrationObject) { if(registrationObject != null) { this._registrations.Remove(registrationObject); this._registrations.Add(registrationObject); } }