![]() |
VOOZH | about |
dotnet add package Dubratz.DarkOrange.Core --version 5.3.0.55
NuGet\Install-Package Dubratz.DarkOrange.Core -Version 5.3.0.55
<PackageReference Include="Dubratz.DarkOrange.Core" Version="5.3.0.55" />
<PackageVersion Include="Dubratz.DarkOrange.Core" Version="5.3.0.55" />Directory.Packages.props
<PackageReference Include="Dubratz.DarkOrange.Core" />Project file
paket add Dubratz.DarkOrange.Core --version 5.3.0.55
#r "nuget: Dubratz.DarkOrange.Core, 5.3.0.55"
#:package Dubratz.DarkOrange.Core@5.3.0.55
#addin nuget:?package=Dubratz.DarkOrange.Core&version=5.3.0.55Install as a Cake Addin
#tool nuget:?package=Dubratz.DarkOrange.Core&version=5.3.0.55Install as a Cake Tool
A utility library providing tools and helpers for Windows applications and general .NET development.
DubString)*, ?) and SQL LIKE (%, _) operatorsDubDateAndTime)DubFile: Advanced file reading/writing with event-driven architectureDubDirectoriesAndFiles: Directory and file management helpersDubMetaFile: File metadata extraction and manipulationDubAppLock: Application-level file locking mechanismsDubOSInfo)DubVariablesReplace)%variable% syntax%IdUser%, %IdMachine%)%DirAppData%, %DirTemp%, etc.)%DateCompact%, %DateNormal%, etc.)%IdApplication%, %DirAppStartup%)DubNumeric: Numeric operations and conversionsDubBitsToBytes: Bit/byte conversion utilitiesDubAssemblyInformation: Assembly metadata extractionDubExceptions: Custom exception handlingInstall via NuGet Package Manager:
dotnet add package Dubratz.DarkOrange.Core
Or via Package Manager Console:
Install-Package Dubratz.DarkOrange.Core
using Dubratz.DarkOrange.Core;
var dubString = new DubString("HelloWorld.txt");
dubString.IgnoreCase = true;
// Standard wildcards
bool matches = dubString.IsLike("*.txt"); // true
// SQL LIKE operators
bool sqlMatch = dubString.IsLike("%World%", DubString.WildcardOperators.SqlLike); // true
using Dubratz.DarkOrange.Core;
var replacer = new DubVariablesReplace();
string result = replacer.Convert("%IdUser%_%DateCompact%.log");
// Output: "JohnDoe_20240115.log"
// With custom variables
var customVars = new List<DubReplaceKey>
{
new("AppName", "MyApp"),
new("Version", "1.0.0")
};
string path = DubVariablesReplace.Convert("%AppName%_v%Version%", customVars);
// Output: "MyApp_v1.0.0"
using Dubratz.DarkOrange.Core;
var duration = new DubDateAndTime(TimeSpan.FromSeconds(3665));
duration.AbbreviateSuffix = true;
string formatted = duration.ToString();
// Output: "1h 1m 5s"
This is a core utility library maintained by Dubratz.net. For issues or feature requests, please contact the maintainers.
This project is licensed under the MIT License - see the file for details.
Copyright © 2026 Dubratz.net
Company: Dubratz.net
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
First version