Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines the typed signature for a command. Defines the typed signature for a command. This type is distinct from Command itself as it is a backwards compatible decorator whose job is to create and enforce type signatures using the newer, shortened command syntax.

Type parameters

  • T: Function

Hierarchy

  • TypedCommand

Implemented by

Index

Properties

canExecute

canExecute: T

canExecuteChanged

canExecuteChanged: GeocortexEvent

canExecuteMode

canExecuteMode: string

execute

execute: T

isWrapper

isWrapper: boolean

name

name: string

postExecute

postExecute: TypedEvent<T>

preExecute

preExecute: TypedEvent<T>

Methods

clear

  • clear(): void
  • Returns void

raiseCanExecuteChanged

  • raiseCanExecuteChanged(): void
  • Returns void

register

  • register(scope: any, implementation: T, canExecute?: FunctionReturning<boolean>): string
  • Parameters

    Returns string

unregister

  • unregister(token: string): boolean
  • Parameters

    • token: string

    Returns boolean