ReactiveUI.Primitives.Signals.ProjectedReadOnlyState<TSource, TResult>
public sealed class ProjectedReadOnlyState<TSource, TResult> : IObservable<TResult>, IObserver<TSource>, IDisposable
Read-only state projection backed directly by a source state signal.
Gets the stream of current and subsequent values.
Gets the current projected value.
public static ProjectedReadOnlyState<TSource, TResult> Create(StateSignal<TSource> source, Func<TSource, TResult> selector)
Creates a projected read-only state and subscribes it to the source after construction, so the instance is never exposed to the source while partially constructed.