Table of Contents

Interface ICommandList

Namespace
GroupeIsa.Neos.Migration.Commands
Assembly
GroupeIsa.Neos.Migration.Abstractions.dll

Provides the functionalities of a list of migration commands.

public interface ICommandList : IReadOnlyCollection<ICommand>, IEnumerable<ICommand>, IEnumerable
Inherited Members

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

command ICommand

The new ICommand to add in the ICommandList.

Type Parameters

TCommand

The command type after which to insert a new ICommand.

AddBeforeContraintsCreation(ICommand)

Adds a command before the commands responsible for adding constraints.

[Obsolete("Use the ICommandList.AddBefore<ISetNotNullConstraint>(ICommand) method instead.", UrlFormat = "https://documentation.neos.groupeisagri.com/articles/database/migration-customization.html#command-execution-order-during-the-migration")]
void AddBeforeContraintsCreation(ICommand command)

Parameters

command ICommand

Command.

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

command ICommand

The new ICommand to add in the ICommandList.

Type Parameters

TCommand

The 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

command ICommand

The 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

command ICommand

The new ICommand to add at the end of the ICommandList.