private DisableIndexes ( Table tableType ) : void | ||
tableType | Table | |
return | void |
public IReadOnlyCollection <IEvent> ExecuteCommands(IReadOnlyCollection <ICommand> commands) { foreach (var disableCommand in commands.OfType <DisableIndexesCommand>()) { _indexManager.DisableIndexes(disableCommand.Table); } return(Array.Empty <IEvent>()); }
public IReadOnlyCollection <IEvent> ExecuteCommands(IReadOnlyCollection <ICommand> commands) { var disableCommand = commands.OfType <DisableIndexesCommand>().SingleOrDefault(); if (disableCommand != null) { _indexManager.DisableIndexes(disableCommand.Table); } return(Array.Empty <IEvent>()); }