Show / Hide Table of Contents

Method Intersect

| Improve this Doc View Source

Intersect(IModels, IModels)

Removes the models to ensure the set contains only models both exist in this set and the specified collection.

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

The current set.

IModels other

The collection to compare to the current set.

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