C# Класс GuiLabs.Undo.AbstractAction

Наследование: IAction
Показать файл Открыть проект

Открытые методы

Метод Описание
CanExecute ( ) : bool
CanUnExecute ( ) : bool
Execute ( ) : void
TryToMerge ( IAction followingAction ) : bool

If the last action can be joined with the followingAction, the following action isn't added to the Undo stack, but rather mixed together with the current one.

UnExecute ( ) : void

Защищенные методы

Метод Описание
ExecuteCore ( ) : void

Override execute core to provide your logic that actually performs the action

UnExecuteCore ( ) : void

Override this to provide the logic that undoes the action

Описание методов

CanExecute() публичный Метод

public CanExecute ( ) : bool
Результат bool

CanUnExecute() публичный Метод

public CanUnExecute ( ) : bool
Результат bool

Execute() публичный Метод

public Execute ( ) : void
Результат void

ExecuteCore() защищенный абстрактный Метод

Override execute core to provide your logic that actually performs the action
protected abstract ExecuteCore ( ) : void
Результат void

TryToMerge() публичный Метод

If the last action can be joined with the followingAction, the following action isn't added to the Undo stack, but rather mixed together with the current one.
public TryToMerge ( IAction followingAction ) : bool
followingAction IAction
Результат bool

UnExecute() публичный Метод

public UnExecute ( ) : void
Результат void

UnExecuteCore() защищенный абстрактный Метод

Override this to provide the logic that undoes the action
protected abstract UnExecuteCore ( ) : void
Результат void