Skip to content

Commit

Permalink
Updated readme about Rx{List|Map}
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Streicher committed Jul 20, 2019
1 parent 75432df commit c9af2d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ var subject = new Subject<Unit>(); // Some IObservable<Unit>
Bind(subject).To(unit => SomeMethod(unit)); // SomeMethod(Unit unit);
```

## Rx{List|Map}

These classes provide implementations for IList<T> and IDictionar<TK,TV> and provide operation granularity observables (Add, Remove, ...).
Use them as a replacement for List<T> and Dictionary<TK,TV> whenever you require to subscribe to operations on those.
```
private readonly RxList<int> values = new RxList<int>();
private readonly RxMap<int,int> values = new RxMap<int,int>();
```

## Rx{List|Map}{Watch|Signal}[ReadOnly]

These classes allow to expose a different observable (e.g. a read only view on a mutable list) as the one used internally.
Expand Down

0 comments on commit c9af2d4

Please sign in to comment.