Table of Contents

Interface ICommand

Namespace
Framework.Patterns.Pure.Command
Assembly
Assembly-CSharp.dll

실행/취소 가능한 명령 계약. CommandInvoker / CommandQueue에서 사용. [규칙] Undo는 Execute의 역연산. 취소 불필요 시 빈 구현 허용.

public interface ICommand

Methods

Execute()

명령 실행.

void Execute()

Undo()

명령 취소 (Execute 역연산).

void Undo()