ChristophHafner
-
-
.NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 8,062 total downloads
- last updated 5/5/2022
- Latest version: 1.0.0
Defines the nullable reference type attributes of namespace System.Diagnostics.CodeAnalysis for frameworks that do not include them, namely .NET Framework 2.0 to 4.8, .NET Core 1.0 to 2.2 and .NET Standard 1.0... More information -
-
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 6,367 total downloads
- last updated 5/14/2024
- Latest version: 3.5.0
The package "Hafner.Tools.Settable" (formerly "Hafner.Tools.SetTracker") provides a tiny helper type of the same name that can be used to differentiate between whether a parameter/property was set to null or... More information -
-
- 5,180 total downloads
- last updated 11/27/2024
- Latest version: 2.0.5
Defines the System.Runtime.InteropServices.GuidAttribute for frameworks that do not include it, namely .NET Standard 1.0. -
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 4,984 total downloads
- last updated 6/15/2025
- Latest version: 1.9.0
Meta-package that includes Hafner.Compatibility.* packages (see https://github.com/HugoRoss/Hafner.Compatibility.Packages) as required. See 'PackageReadMe.md' for an overview with the exact types that are... More information -
-
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 4,788 total downloads
- last updated 11/27/2024
- Latest version: 1.0.3
Defines the third generation of nullable reference type attributes of namespace "System.Diagnostics.CodeAnalysis" for frameworks that do not include them. -
-
-
.NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 4,781 total downloads
- last updated 4/28/2025
- Latest version: 1.1.3
Package "Hafner.Compatibility.DynamicallyAccessedMembersAttribute" defines the attributes "DynamicallyAccessedMembersAttribute", "DynamicDependencyAttribute" and "RequiresUnreferencedCodeAttribute" of namespace... More information -
-
-
.NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 4,639 total downloads
- last updated 11/27/2024
- Latest version: 1.0.3
Defines the first generation of nullable reference type attributes of namespace "System.Diagnostics.CodeAnalysis" for frameworks that do not include them. -
-
-
.NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 4,583 total downloads
- last updated 11/27/2024
- Latest version: 1.0.3
Defines the second generation of nullable reference type attributes of namespace "System.Diagnostics.CodeAnalysis" for frameworks that do not include them. -
-
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 4,522 total downloads
- last updated 11/27/2024
- Latest version: 2.0.0
Defines the "System.Diagnostics.CodeAnalysis.ConstantExpectedAttribute". -
-
- 4,435 total downloads
- last updated 11/27/2024
- Latest version: 3.0.3
Defines the System.Runtime.CompilerServices.ExtensionAttribute for frameworks that do not include it, namely .NET framework 2.0 and 3.0. -
-
.NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 4,144 total downloads
- last updated 6/15/2025
- Latest version: 1.0.1
Defines the second generation of caller information attributes of namespace "System.Runtime.CompilerService" (CallerArgumentExpression) for frameworks that do not include them (.NET Framework 2.0 to 4.8.1, .NET... More information -
-
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 3,764 total downloads
- last updated 11/30/2024
- Latest version: 1.0.0
Defines the attribute "ExperimentalAttribute". -
-
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 3,722 total downloads
- last updated 11/30/2024
- Latest version: 1.0.0
Defines the attributes "FeatureGuardAttribute" and "FeatureSwitchDefinitionAttribute". -
-
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 2,431 total downloads
- last updated 11/4/2023
- Latest version: 2.1.0
Defines System.Action and System.Func for all supported frameworks with up to 16 type parameters. -
-
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 2.0 This package targets .NET Core 2.0. The package is compatible with this framework or higher. .NET Standard 2.0 This package targets .NET Standard 2.0. The package is compatible with this framework or higher. .NET Framework 4.6.1 This package targets .NET Framework 4.6.1. The package is compatible with this framework or higher.
- 1,836 total downloads
- last updated 5/14/2024
- Latest version: 1.2.0
The package "Hafner.Tools.Settable.Dapper" is a Dapper extension to handle conversions from Dapper to Settable<T> correctly. There are two functionally identical methods that may be called: Either you invoke... More information -
-
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 1,829 total downloads
- last updated 7/7/2025
- Latest version: 2.0.3
Contains an extension method for a System.Object that checks whether it is null and in case it is, throws an ArgumentNullException, otherwise returns the same instance. -
-
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 1,698 total downloads
- last updated 4/17/2025
- Latest version: 1.1.1
Package "Hafner.Tools.Enumerable.GetLinearSample" contains an extension method for an IEnumerable<T> that returns a linear sample of the desired number of elements from the collection (or less if... More information -
-
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 884 total downloads
- last updated 3/1/2022
- Latest version: 1.0.0
Defines System.Action and System.Func for all supported frameworks with up to 32 type parameters. -
-
- Deprecated
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 799 total downloads
- last updated 9/8/2024
- Latest version: 1.2.0
Meta-package that includes Hafner.Compatibility.* packages as needed. -
-
.NET 5.0 This package targets .NET 5.0. The package is compatible with this framework or higher. .NET Core 1.0 This package targets .NET Core 1.0. The package is compatible with this framework or higher. .NET Standard 1.0 This package targets .NET Standard 1.0. The package is compatible with this framework or higher. .NET Framework 2.0 This package targets .NET Framework 2.0. The package is compatible with this framework or higher.
- 790 total downloads
- last updated 3/2/2022
- Latest version: 1.0.0
Defines System.Action and System.Func for all supported frameworks with up to 64 type parameters. -
- Previous
- Next