TJC.EnumFlags 0.7.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package TJC.EnumFlags --version 0.7.1                
NuGet\Install-Package TJC.EnumFlags -Version 0.7.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TJC.EnumFlags" Version="0.7.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TJC.EnumFlags --version 0.7.1                
#r "nuget: TJC.EnumFlags, 0.7.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TJC.EnumFlags as a Cake Addin
#addin nuget:?package=TJC.EnumFlags&version=0.7.1

// Install TJC.EnumFlags as a Cake Tool
#tool nuget:?package=TJC.EnumFlags&version=0.7.1                

<a href="https://github.com/TJC-Tools/TJC.EnumFlags/tags"> <img alt="GitHub Tag" src="https://img.shields.io/github/v/tag/TJC-Tools/TJC.EnumFlags?style=for-the-badge&logo=tag&logoColor=white&labelColor=24292f&color=blue" /> </a>

<a href="https://github.com/TJC-Tools/TJC.EnumFlags/releases/latest"> <img alt="GitHub Release" src="https://img.shields.io/github/v/release/TJC-Tools/TJC.EnumFlags?style=for-the-badge&logo=starship&logoColor=D9E0EE&labelColor=302D41&&color=green&include_prerelease&sort=semver" /> </a>

<a href="https://www.nuget.org/packages/TJC.EnumFlags"> <img alt="NuGet Version" src="https://img.shields.io/nuget/v/TJC.EnumFlags?style=for-the-badge&logo=nuget&logoColor=white&labelColor=004880&color=blue" /> </a>

<br/>

<a href="https://www.nuget.org/packages/TJC.EnumFlags"> <img alt="NuGet Downloads" src="https://img.shields.io/nuget/dt/TJC.EnumFlags?style=for-the-badge&logo=nuget&logoColor=white&labelColor=004880&color=yellow" /> </a>

<a href="https://github.com/TJC-Tools/TJC.EnumFlags"> <img alt="Repository Size" src="https://img.shields.io/github/repo-size/TJC-Tools/TJC.EnumFlags?style=for-the-badge&logo=files&logoColor=white&labelColor=24292f&color=orange" /> </a>

<br/>

<a href="https://www.nuget.org/packages/TJC.EnumFlags"> <img alt="Last commit" src="https://img.shields.io/github/last-commit/TJC-Tools/TJC.EnumFlags?style=for-the-badge&logo=git&logoColor=D9E0EE&labelColor=302D41&color=mediumpurple"/> </a>

<a href="LICENSE"> <img alt="License" src="https://img.shields.io/github/license/TJC-Tools/TJC.EnumFlags.svg?style=for-the-badge&logo=balance-scale&logoColor=white&labelColor=333333&color=blueviolet" /> </a>

Items

T.SetFlag<T>(T flag)

  • Sets a flag in an enum.

T.ClearFlag<T>(T flag)

  • Clears a flag in an enum.

T.ToggleFlag<T>(T flag)

  • Toggles a flag in an enum.

T.GetFlags<T>()

  • Gets all the flags in an enum.

T.SetFlags<T>()

  • Sets one or more flags on an enum.
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on TJC.EnumFlags:

Package Downloads
TJC.Collection.Core

Collection of NuGet Packages

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.9.3 360 11/15/2024
0.9.2 365 11/10/2024
0.9.1 369 11/5/2024
0.9.0 296 11/5/2024
0.8.1 526 10/26/2024
0.8.0 421 10/20/2024
0.7.2 270 10/20/2024
0.7.1 377 10/16/2024
0.7.0 378 10/10/2024
0.6.1 599 9/29/2024
0.6.0 485 9/25/2024
0.5.0 93 9/25/2024
0.4.0 85 9/25/2024
0.3.0 95 9/25/2024
0.2.0 90 9/25/2024
0.1.0 88 9/25/2024