Skip to content

Commit

Permalink
IBindableReadOnlyReactiveProperty -> IReadOnlyBindableReactiveProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Jul 26, 2024
1 parent 645d27e commit f893787
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sandbox/WpfApp1/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected override void OnClosed(EventArgs e)
public class BasicUsagesViewModel : IDisposable
{
public BindableReactiveProperty<string> Input { get; }
public IBindableReadOnlyReactiveProperty Output { get; }
public IReadOnlyBindableReactiveProperty Output { get; }

public BasicUsagesViewModel()
{
Expand Down
6 changes: 3 additions & 3 deletions src/R3/BindableReactiveProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -262,7 +262,7 @@ void IBindableReactiveProperty.OnNext(object? value)

// IBindableReadOnlyReactiveProperty

object? IBindableReadOnlyReactiveProperty.Value
object? IReadOnlyBindableReactiveProperty.Value
{
get => Value;
}
Expand Down

0 comments on commit f893787

Please sign in to comment.