Table of Contents

Interface IReactiveObject

Namespace
ReactiveUI
Assembly
ReactiveUI.dll

A reactive object is a interface for ViewModels which will expose logging, and notify when properties are either changing or changed. The primary use of this interface is to allow external classes such as the ObservableAsPropertyHelper to trigger these events inside the ViewModel.

public interface IReactiveObject : INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger

Methods

RaisePropertyChanged(PropertyChangedEventArgs)

Raise a property has changed event.

void RaisePropertyChanged(PropertyChangedEventArgs args)

Parameters

args PropertyChangedEventArgs

The arguments with details about the property that has changed.

RaisePropertyChanging(PropertyChangingEventArgs)

Raise a property is changing event.

void RaisePropertyChanging(PropertyChangingEventArgs args)

Parameters

args PropertyChangingEventArgs

The arguments with details about the property that is changing.