There are two ways to remove properties.

Boycott, which specifies which properties to remove.

Sanction, which specifies which properties to leave in the object.

Both implementations can be called either by a function in which you choose properties, or by specifying properties with strings.

Install-Package Boycotter -Version
dotnet add package Boycotter --version
<PackageReference Include="Boycotter" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Boycotter --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Removed a generic constraint


This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 586 6/17/2016
1.2.3 526 1/21/2016
1.2.2 502 1/20/2016
1.2.1 643 1/18/2016
1.1.2 532 12/2/2015