Show / Hide Table of Contents

Method Union

| Improve this Doc View Source

Union(IModels, IModels)

Ensures set contain all elements that are present in either the current set or in the specified collection.

Declaration
public static IModels Union(this IModels source, IModels other)
Parameters
Type Name Description
IModels source

The current set.

IModels other

The collection to add elements from.

Returns
Type Description
IModels

A new set if there is any modification to current set and current set sealed; otherwise, the current set.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest