internal void RemoveEntriesFromBucket(IEnumerable <TenantInboundConnector> entriesToRemove) { foreach (TenantInboundConnector connector in entriesToRemove) { string primaryKeyForTenantInboundConnector = TenantInboundConnectorBucket.GetPrimaryKeyForTenantInboundConnector(connector); this.TenantInboundConnectors.Remove(primaryKeyForTenantInboundConnector); this.UpdateWhenChanged(connector); } }
internal void AddEntriesToBucket(IEnumerable <TenantInboundConnector> entriesToAdd) { foreach (TenantInboundConnector tenantInboundConnector in entriesToAdd) { string primaryKeyForTenantInboundConnector = TenantInboundConnectorBucket.GetPrimaryKeyForTenantInboundConnector(tenantInboundConnector); this.TenantInboundConnectors[primaryKeyForTenantInboundConnector] = tenantInboundConnector; this.UpdateWhenChanged(tenantInboundConnector); } }