C# 클래스 Holsee.RxLab.RxLinqToEvents

파일 보기 프로젝트 열기: holsee/RxDemo-Old

공개 메소드들

메소드 설명
MouseMovesAndTextInput ( ) : void

A demonstration of CompositeDisposable for efficient resource release when working with subscriptions over numerous IObservables. This example also leverages more meaningful projects via the Select LINQ operator.

TextInput ( ) : void

A basic demonstration of capturing TextChanged Events from a TextBox.

TextInputDistinct ( ) : void

This version of the TextInputFunction will NOT react to the change if the value is the same as the previous value. This allows us to avoid redundant events, in turn allowing us to avoid redundant calls.

TextInputDistinctWithDo ( ) : void

Inserted Do into the Reactive Expression to outline some, unexpected behaviour.

TextInputDistinctWithThrottle ( ) : void

This demonstration introduces the Throttle operator, which will prevent the event being pushed until 1 second after the last event has been fired.

TextInputDistinctWithThrottleAndCustomTimestampOperator ( ) : void

Refactored the Logging code into a signle custom operator "LogTimestampedValues"

TextInputDistinctWithThrottleAndTimestamps ( ) : void

To illustrate Throttle's effect, let's use the Do operator in conjunction with two specialized projection operators called Timestamp and RemoveTimestamp.

UsingEventHandlers ( ) : void

A demonstration of traditional callback handlers for dealing with Events.

UsingRxOverEvents ( ) : void

A demostration of the reactive extesions appraoch to dealing with Events.

메소드 상세

MouseMovesAndTextInput() 공개 정적인 메소드

A demonstration of CompositeDisposable for efficient resource release when working with subscriptions over numerous IObservables. This example also leverages more meaningful projects via the Select LINQ operator.
public static MouseMovesAndTextInput ( ) : void
리턴 void

TextInput() 공개 정적인 메소드

A basic demonstration of capturing TextChanged Events from a TextBox.
public static TextInput ( ) : void
리턴 void

TextInputDistinct() 공개 정적인 메소드

This version of the TextInputFunction will NOT react to the change if the value is the same as the previous value. This allows us to avoid redundant events, in turn allowing us to avoid redundant calls.
public static TextInputDistinct ( ) : void
리턴 void

TextInputDistinctWithDo() 공개 정적인 메소드

Inserted Do into the Reactive Expression to outline some, unexpected behaviour.
public static TextInputDistinctWithDo ( ) : void
리턴 void

TextInputDistinctWithThrottle() 공개 정적인 메소드

This demonstration introduces the Throttle operator, which will prevent the event being pushed until 1 second after the last event has been fired.
public static TextInputDistinctWithThrottle ( ) : void
리턴 void

TextInputDistinctWithThrottleAndCustomTimestampOperator() 공개 정적인 메소드

Refactored the Logging code into a signle custom operator "LogTimestampedValues"
public static TextInputDistinctWithThrottleAndCustomTimestampOperator ( ) : void
리턴 void

TextInputDistinctWithThrottleAndTimestamps() 공개 정적인 메소드

To illustrate Throttle's effect, let's use the Do operator in conjunction with two specialized projection operators called Timestamp and RemoveTimestamp.
public static TextInputDistinctWithThrottleAndTimestamps ( ) : void
리턴 void

UsingEventHandlers() 공개 정적인 메소드

A demonstration of traditional callback handlers for dealing with Events.
public static UsingEventHandlers ( ) : void
리턴 void

UsingRxOverEvents() 공개 정적인 메소드

A demostration of the reactive extesions appraoch to dealing with Events.
public static UsingRxOverEvents ( ) : void
리턴 void