Skip to content

Commit

Permalink
Fixed field name
Browse files Browse the repository at this point in the history
  • Loading branch information
YohDeadfall committed Dec 25, 2023
1 parent 3d65770 commit 46bae9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Kinetic/Linq/ObservableView.Where.cs
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,14 @@ public void Initialize(IDisposable subscription) =>

private readonly struct WherePredicateStateMachineFactory<T> : IObserverStateMachineFactory<bool, WhereStateMachineItem<T>>
{
private readonly WhereStateMachineItem<T> _items;
private readonly WhereStateMachineItem<T> _item;

public WherePredicateStateMachineFactory(WhereStateMachineItem<T> item) =>
_items = item;
_item = item;

public void Create<TContinuation>(in TContinuation continuation, ObserverStateMachine<bool> source)
where TContinuation : struct, IObserverStateMachine<WhereStateMachineItem<T>> =>
source.ContinueWith(new WherePredicateStateMachine<T, TContinuation>(continuation, _items));
source.ContinueWith(new WherePredicateStateMachine<T, TContinuation>(continuation, _item));
}

private struct WherePredicateStateMachine<T, TContinuation> : IObserverStateMachine<bool>
Expand Down

0 comments on commit 46bae9d

Please sign in to comment.