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