C# Class Holsee.RxLab.RxLinqToEvents

Mostrar archivo Open project: holsee/RxDemo-Old

Public Methods

Method Description
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.

Method Details

MouseMovesAndTextInput() public static method

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
return void

TextInput() public static method

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

TextInputDistinct() public static method

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
return void

TextInputDistinctWithDo() public static method

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

TextInputDistinctWithThrottle() public static method

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
return void

TextInputDistinctWithThrottleAndCustomTimestampOperator() public static method

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

TextInputDistinctWithThrottleAndTimestamps() public static method

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
return void

UsingEventHandlers() public static method

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

UsingRxOverEvents() public static method

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