OOPFoundation 1.3.3
dotnet add package OOPFoundation --version 1.3.3
NuGet\Install-Package OOPFoundation -Version 1.3.3
<PackageReference Include="OOPFoundation" Version="1.3.3" />
<PackageVersion Include="OOPFoundation" Version="1.3.3" />
<PackageReference Include="OOPFoundation" />
paket add OOPFoundation --version 1.3.3
#r "nuget: OOPFoundation, 1.3.3"
#:package OOPFoundation@1.3.3
#addin nuget:?package=OOPFoundation&version=1.3.3
#tool nuget:?package=OOPFoundation&version=1.3.3
OOPFoundation
CST | TADS | POO
Defines Foundation abstractions, classes and interfaces for teaching **Object-Oriented Paradigm in C# **.
Structures
Packages
OOPFoundation : defines foundation abstractions, classes and interfaces.
Abstract Classes
ADecimalValidation implements IDecimalValidation : defines the DecimalIsValid() method
ADoubleValidation implements IDoubleValidation : defines the DoubleIsValid() method
AIntegerValidation implements IIntegerValidation : defines the IntegerIsValid() method
AText implements ISanitization, ITextValidation : defines methods
-
Sanitize(): used to sanitize (remove) undesired characters -
TextIsValid(): used to verify if string has only valid [required] content. Validates when content is supplyed, except whenisOptionalflag is set totrue. - customized
ToString(mask): allows string formatting, e.g. formats ABC123DEF with mask '###.###-###' as ABC.123-DEF
Interfaces
IDecimalValidation
IDoubleValidation
IFloatValidation
IIntegerValidation
ISanitization
ITextValidation
Concrete Classes
Currency extends ADecimalValidation: it is used to create a currency object to represent a real world currency e.g. BRL as for Brazilian Reais or GBP as for Great Britain Pound, validating and retaining its value
SanitizationPattern : it is used to standardize different and more common sanitization patterns like .CPF="0-9" (only digits are valid) or .CNPJ="0-9A-Z" (digits and upper letters are valid)
Text inherist AText : it is used to create text objects to validate and sanitize its value
Year extends AIntegerValidation : it is used to create year objects and validate its value, e.g. YearOfBirth
UML
Class Diagram
NOTICE!
This is a NuGet package aimed at teaching Object-Oriented Paradigm concepts to a specific group of students.
Prof. Marcos M. Chaves
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OOPFoundation:
| Package | Downloads |
|---|---|
|
OOPBusinessGeneric
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.3 | 82 | 4/30/2026 |