Beispiel #1
0
        public static IWritableKeyedRx <TKey, T> Watch <TKey, T>(this IWritableKeyedRx <TKey, T> rx, Action <IKeyedRx <TKey, T>, TKey, T> valueChanged)
        {
            rx.ValueChanged += (source, key, newValue, oldValue) => valueChanged(source, key, newValue);

            return(rx);
        }
Beispiel #2
0
        public static IWritableKeyedRx <TKey, T> Watch <TKey, T>(this IWritableKeyedRx <TKey, T> rx, KeyedRxValueChanged <TKey, T> valueChanged)
        {
            rx.ValueChanged += valueChanged;

            return(rx);
        }