C# Класс Holsee.RxLab.RxLinqToEvents

Показать файл Открыть проект

Открытые методы

Метод Описание
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