Tingle.Extensions.DataAnnotations 4.7.0

dotnet add package Tingle.Extensions.DataAnnotations --version 4.7.0
NuGet\Install-Package Tingle.Extensions.DataAnnotations -Version 4.7.0
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="Tingle.Extensions.DataAnnotations" Version="4.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Tingle.Extensions.DataAnnotations --version 4.7.0
#r "nuget: Tingle.Extensions.DataAnnotations, 4.7.0"
#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 Tingle.Extensions.DataAnnotations as a Cake Addin
#addin nuget:?package=Tingle.Extensions.DataAnnotations&version=4.7.0

// Install Tingle.Extensions.DataAnnotations as a Cake Tool
#tool nuget:?package=Tingle.Extensions.DataAnnotations&version=4.7.0

Tingle.Extensions.DataAnnotations

Additional data validation attributes in the System.ComponentModel.DataAnnotations namespace. Some of this should have been present in the framework but are very specific to some use cases.

AttributeName Description Remarks
AllowedValuesAttribute Specifies that a data field value is allowed. When applied on an array, all its elements must be allowed. Only for .NET 7 or older.
Base64Attribute Specifies that a data field value is a well-formed base 64 string. Only for .NET 7 or older.
DateMustBeInTheFutureAttribute Specifies that a data field value is a date in the future.
DateMustBeInThePastAttribute Specifies that a data field value is a date in the past.
FiveStarRatingAttribute Specifies the decimal numeric range for the value of a data field must be between 0 and 5.
GreaterThanZeroAttribute Specifies the integer numeric range for the value of a data field must be more than zero. Only works for integers.
KRAPinAttribute Specifies that a data field value is a well-formed KRA PIN number using a regular expression for KRA Pins.<br/>The default expression to be matched is:<br/>^[a-zA-Z][0-9]{9}[a-zA-Z]$
PrefixAttribute Specifies that a data field value starts with a specified string.
SuffixAttribute Specifies that a data field value ends with a specified string.
SwiftCodeAttribute Specifies that a data field value is a well-formed SWIFT Code using a regular expression for SWIFT Codes as specified under ISO-9362.<br/>The expression to be matched is <br/>^([a-zA-Z]{4})([a-zA-Z]{2})([a-zA-Z0-9]{2})([a-zA-Z0-9]{3})?$
TenStarRatingAttribute Specifies the decimal numeric range for the value of a data field must be between 0 and 10.
TimeZoneAttribute Specifies that a data field value is a well-formed timezone identifier. This support both Windows and IANA timezone identifiers.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.7.0 513 3/25/2024
4.6.0 558 3/8/2024
4.5.0 3,024 11/22/2023
4.4.1 259 11/20/2023
4.4.0 302 11/15/2023
4.3.0 1,317 10/18/2023
4.2.2 1,124 9/20/2023
4.2.1 1,779 8/4/2023
4.2.0 2,530 5/31/2023
4.1.1 234 5/26/2023
4.1.0 770 5/22/2023
4.0.0 2,375 3/14/2023
3.8.1 2,126 11/30/2022
3.8.0 2,242 11/21/2022
3.7.0 3,419 9/4/2022
3.6.0 3,315 7/4/2022
3.5.3 3,006 4/8/2022
3.5.2 4,474 1/7/2022
3.5.1 2,515 11/11/2021
3.5.0 1,247 11/10/2021
3.4.7 931 11/2/2021
3.4.6 644 10/29/2021
3.4.5 2,140 10/9/2021
3.4.4 1,663 8/9/2021
3.4.3 296 8/9/2021
3.4.2 6,079 5/26/2021
0.1.0-ci0015 176 5/26/2021