diff --git a/sandbox/WpfApp1/MainWindow.xaml.cs b/sandbox/WpfApp1/MainWindow.xaml.cs index 85290c8f..1fb97719 100644 --- a/sandbox/WpfApp1/MainWindow.xaml.cs +++ b/sandbox/WpfApp1/MainWindow.xaml.cs @@ -58,7 +58,7 @@ protected override void OnClosed(EventArgs e) public class BasicUsagesViewModel : IDisposable { public BindableReactiveProperty Input { get; } - public IBindableReadOnlyReactiveProperty Output { get; } + public IReadOnlyBindableReactiveProperty Output { get; } public BasicUsagesViewModel() { diff --git a/src/R3/BindableReactiveProperty.cs b/src/R3/BindableReactiveProperty.cs index fe2972bf..0554b1fb 100644 --- a/src/R3/BindableReactiveProperty.cs +++ b/src/R3/BindableReactiveProperty.cs @@ -9,12 +9,12 @@ namespace R3; // for binding(TriggerAction, Behavior) usage -public interface IBindableReadOnlyReactiveProperty : INotifyPropertyChanged, INotifyDataErrorInfo, IDisposable +public interface IReadOnlyBindableReactiveProperty : INotifyPropertyChanged, INotifyDataErrorInfo, IDisposable { object? Value { get; } } -public interface IBindableReactiveProperty : IBindableReadOnlyReactiveProperty +public interface IBindableReactiveProperty : IReadOnlyBindableReactiveProperty { new object? Value { get; set; } void OnNext(object? value); @@ -262,7 +262,7 @@ void IBindableReactiveProperty.OnNext(object? value) // IBindableReadOnlyReactiveProperty - object? IBindableReadOnlyReactiveProperty.Value + object? IReadOnlyBindableReactiveProperty.Value { get => Value; }