C# 클래스 SonarLint.VisualStudio.Integration.WPF.RelayCommand

A command whose sole purpose is to relay its functionality to other objects by invoking delegates. The default return value for the CanExecute method is 'True'.
상속: RelayCommandBase
파일 보기 프로젝트 열기: SonarSource-VisualStudio/sonarlint-visualstudio 1 사용 예제들

공개 메소드들

메소드 설명
CanExecute ( ) : bool
Execute ( ) : void
RelayCommand ( System.Action execute ) : System
RelayCommand ( System.Action execute, Func canExecute ) : System

보호된 메소드들

메소드 설명
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void

메소드 상세

CanExecute() 공개 메소드

public CanExecute ( ) : bool
리턴 bool

CanExecute() 보호된 메소드

protected CanExecute ( object parameter ) : bool
parameter object
리턴 bool

Execute() 공개 메소드

public Execute ( ) : void
리턴 void

Execute() 보호된 메소드

protected Execute ( object parameter ) : void
parameter object
리턴 void

RelayCommand() 공개 메소드

public RelayCommand ( System.Action execute ) : System
execute System.Action
리턴 System

RelayCommand() 공개 메소드

public RelayCommand ( System.Action execute, Func canExecute ) : System
execute System.Action
canExecute Func
리턴 System