Method SymmetricExcept
| Improve this Doc View SourceSymmetricExcept(IModels, IModels)
Ensures set contain only elements that are present either in the current set or in the specified collection, but not both.
Declaration
public static IModels SymmetricExcept(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 sealed set; otherwise, the current set. |