C# 클래스 MVVMSidekick.Reactive.ReactiveCommand

Reactive Command
상속: IReactiveCommand, IDisposable
파일 보기 프로젝트 열기: waynebaby/MVVM-Sidekick 1 사용 예제들

공개 메소드들

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

Determines whether this instance can execute the specified parameter.

Dispose ( ) : void
Execute ( object parameter ) : void

Executes the specified parameter.

ExecuteAsync ( object parameter ) : System.Threading.Tasks.Task

Executes asynchronously.

ListenCanExecuteObservable ( IObservable canExecuteSeq ) : IDisposable

Listens the can execute observable.

OverwriteCanExecute ( bool>.Func canExecuteFunc ) : IReactiveCommand

Overwrites the can execute logic.

ReactiveCommand ( bool canExecute = false ) : System

Initializes a new instance of the ReactiveCommand class.

Subscribe ( IObserver observer ) : IDisposable

Subscribes the specified observer.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

메소드 상세

CanExecute() 공개 메소드

Determines whether this instance can execute the specified parameter.
public CanExecute ( object parameter ) : bool
parameter object The parameter.
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

Execute() 공개 메소드

Executes the specified parameter.
public Execute ( object parameter ) : void
parameter object The parameter.
리턴 void

ExecuteAsync() 공개 메소드

Executes asynchronously.
public ExecuteAsync ( object parameter ) : System.Threading.Tasks.Task
parameter object The parameter.
리턴 System.Threading.Tasks.Task

ListenCanExecuteObservable() 공개 메소드

Listens the can execute observable.
public ListenCanExecuteObservable ( IObservable canExecuteSeq ) : IDisposable
canExecuteSeq IObservable The can execute seq.
리턴 IDisposable

OverwriteCanExecute() 공개 메소드

Overwrites the can execute logic.
public OverwriteCanExecute ( bool>.Func canExecuteFunc ) : IReactiveCommand
canExecuteFunc bool>.Func The can execute function.
리턴 IReactiveCommand

ReactiveCommand() 공개 메소드

Initializes a new instance of the ReactiveCommand class.
public ReactiveCommand ( bool canExecute = false ) : System
canExecute bool if set to true [can execute].
리턴 System

Subscribe() 공개 메소드

Subscribes the specified observer.
public Subscribe ( IObserver observer ) : IDisposable
observer IObserver The observer.
리턴 IDisposable