Skip to content

Reactive2DList.AsSpan() method

Defined in

Type: Reactive2DList Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public ReadOnlySpan<ReactiveList<T>> AsSpan()

View source (opens in a new tab)

Inherited documentation

These docs were inherited from ReactiveList<T>. The member doesn't override them on this type.

Summary: Gets a read-only span over a snapshot of the items.

Returns: ReadOnlySpan> (opens in a new tab) -- A span over the items as they were when this method ran.

Remarks

        The span is a point-in-time view. It never changes and never throws when other threads mutate the list, but it also
        never shows those later mutations: call this method again to see them. Calls made with no mutation in between return
        the same shared snapshot without copying. The snapshot must be treated as read-only.