[]
        
(Showing Draft Content)

C1.LiveLinq.LiveViews.View-1.Union

Union Method

Union(IObservableSource<T>)

Set union of two views.

Declaration
public View<T> Union(IObservableSource<T> second)
Parameters
Type Name Description
IObservableSource<T> second

A collection (usually, a view) whose distinct elements form the second set for the union.

Returns
Type Description
View<T>

The view that contains the elements from both input views, excluding duplicates.

Remarks

This method excludes duplicates from the result set. This is different behavior to the Concat(IObservableSource<T>) method, which returns all the elements in the input sequences including duplicates.