C# Class Holsee.RxLab.RxLinqToEvents

Afficher le fichier Open project: holsee/RxDemo-Old

Méthodes publiques

Méthode 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 méthode

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
Résultat void

TextInput() public static méthode

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

TextInputDistinct() public static méthode

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
Résultat void

TextInputDistinctWithDo() public static méthode

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

TextInputDistinctWithThrottle() public static méthode

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
Résultat void

TextInputDistinctWithThrottleAndCustomTimestampOperator() public static méthode

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

TextInputDistinctWithThrottleAndTimestamps() public static méthode

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
Résultat void

UsingEventHandlers() public static méthode

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

UsingRxOverEvents() public static méthode

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