<PackageReference Include="ReactiveUI.Primitives" Version="10.2.0" />

ReactiveUI.Primitives.Internal.StateCallbackPair<TState, TDelegate>

struct StateCallbackPair<TState, TDelegate> : IEquatable<StateCallbackPair<TState, TDelegate>>
Pairs a caller-supplied state value with a delegate so synchronous emission helpers run without closures.
public TDelegate Callback { get; set; }

The delegate invoked for each element.

public TState State { get; set; }

The caller-supplied state value.

public StateCallbackPair(TState State, TDelegate Callback)

Pairs a caller-supplied state value with a delegate so synchronous emission helpers run without closures.

public static bool op_Equality(StateCallbackPair<TState, TDelegate> left, StateCallbackPair<TState, TDelegate> right)

public static bool op_Inequality(StateCallbackPair<TState, TDelegate> left, StateCallbackPair<TState, TDelegate> right)

public void Deconstruct(out TState State, out TDelegate Callback)

public bool Equals(StateCallbackPair<TState, TDelegate> other)