[]
Set union of two views.
public View<T> Union(IObservableSource<T> second)
Type | Name | Description |
---|---|---|
IObservableSource<T> | second | A collection (usually, a view) whose distinct elements form the second set for the union. |
Type | Description |
---|---|
View<T> | The view that contains the elements from both input views, excluding duplicates. |
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.