Interface ICommandList
Provides the functionalities of a list of migration commands.
public interface ICommandList : IReadOnlyCollection<ICommand>, IEnumerable<ICommand>, IEnumerable
- Inherited Members
- Extension Methods
Methods
AddAfter<TCommand>(ICommand)
Adds a new ICommand after the specified command type in the ICommandList, or at the end, if no entries match.
void AddAfter<TCommand>(ICommand command) where TCommand : ICommand
Parameters
commandICommandThe new ICommand to add in the ICommandList.
Type Parameters
TCommandThe command type after which to insert a new ICommand.
AddBeforeContraintsCreation(ICommand)
Adds a command before the commands responsible for adding constraints.
void AddBeforeContraintsCreation(ICommand command)
Parameters
commandICommandCommand.
AddBefore<TCommand>(ICommand)
Adds a new ICommand before the specified command type in the ICommandList, or at the start, if no entries match.
void AddBefore<TCommand>(ICommand command) where TCommand : ICommand
Parameters
commandICommandThe new ICommand to add in the ICommandList.
Type Parameters
TCommandThe command type before which to insert a new ICommand.
AddFirst(ICommand)
Adds the specified new command at the start of the ICommandList.
void AddFirst(ICommand command)
Parameters
commandICommandThe new ICommand to add to the start of the ICommandList.
AddLast(ICommand)
Adds the specified new command at the end of the ICommandList.
void AddLast(ICommand command)
Parameters
commandICommandThe new ICommand to add at the end of the ICommandList.