jacobvoller.csutil
1.0.32
dotnet add package jacobvoller.csutil --version 1.0.32
NuGet\Install-Package jacobvoller.csutil -Version 1.0.32
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="jacobvoller.csutil" Version="1.0.32" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="jacobvoller.csutil" Version="1.0.32" />
<PackageReference Include="jacobvoller.csutil" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add jacobvoller.csutil --version 1.0.32
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: jacobvoller.csutil, 1.0.32"
#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.
#:package jacobvoller.csutil@1.0.32
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=jacobvoller.csutil&version=1.0.32
#tool nuget:?package=jacobvoller.csutil&version=1.0.32
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
C# Util
AsyncUtil
- AwaitAllThreads()
- Awaits completion of all registered threads.
- EmptyAwait()
- Returns a no-op task that can be awaited.
- FireAndForget(
Action)- Executes an action on a new thread without awaiting it.
- RegisterThread(
string,Action)- Registers a named thread with an associated action.
- Shutdown()
- Terminates all registered threads.
- WaitForCancellationToken(
CancellationToken)- Runs a task indefinitely until the cancellation token is triggered.
- WaitSeconds(
int)- Delays execution for the specified number of seconds.
BoolUtil
- ToEnabledString(
bool) ⇒string- Returns
enabledif true, otherwisedisabled.
- Returns
DateUtil
- ParseZuluDate(
string) ⇒DateTime- Parses a Zulu-formatted
stringinto aDateTime.
- Parses a Zulu-formatted
- ToDate(
string) ⇒string- Converts a date string to
YYYY-MMM-DDformat.
- Converts a date string to
- ToDaysSince(
string) ⇒string- Returns time elapsed since the given date in
Xd Xh Xm Xsformat.
- Returns time elapsed since the given date in
- Zulu(
DateTime) ⇒string- Formats a DateTime as a Zulu timestamp
string.
- Formats a DateTime as a Zulu timestamp
- ZuluNow() ⇒
string- Returns the current time as a Zulu timestamp
string.
- Returns the current time as a Zulu timestamp
ExceptionUtil
- Rethrow(
Exception)- Rethrows an exception while preserving the original stack trace.
FileUtil
- Create(
string,string,string,string) - CreateDirectory(
string) ⇒string - CreateFilePath(
string,string) ⇒string - GetDirectory() ⇒
string - GetDirectory(
string) ⇒string - PrepareForFileCreate(
string,string) ⇒string
JsonUtil
- DeSerialize<
T>(string) ⇒T - Serialize(
Object) ⇒string - TrimQuotes(
string) ⇒string
NumberUtil
- StringIsLong(
string) ⇒bool
PinUtil
- IsCommonPin(
string) ⇒bool - Pin() ⇒
string
RandomUtil
- String() ⇒
string
ReflectionUtil
- CreateInstance<
T>() ⇒object - CreateInstance(
Type) ⇒object - GetBoolValue(
Type,string) ⇒bool - DeepClone<
T>(T) ⇒T
RomanNumeralUtil
- Convert(
int) ⇒string - Convert(
string) ⇒int - IsValid(
string) ⇒bool
SteamUtil
- BattleMetricsProfile(
string) ⇒string - IsBattleMetricsProfileUrl(
string) ⇒bool - IsSteamIdFormat(
string) ⇒bool - IsSteamProfileUrl(
string) ⇒bool - RustStatsProfile(
string) ⇒string - SteamProfile(
string) ⇒string
StringUtil
- Consolidate(
string) ⇒string - EscapeBackslashes(
string) ⇒string - GetLine(
string,int) ⇒string - IsEquivalent(
string,string) ⇒bool - GetUntilNonAlphanumeric(
string) ⇒string - JoinWithComma(
IEnumerable<string>) ⇒string - JoinWithNewLine(
IEnumerable<string>) ⇒string - RemoveFirstChar(
string) ⇒string - RemoveLastChar(
string) ⇒string
YamlUtil
- SaveToFile<
T>(T,string,string) - Serialize<
T>(T) ⇒string
TODO
- HttpUtil
- SoapUtil
- XmlUtil
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- Newtonsoft.Json (>= 13.0.3)
- YamlDotNet (>= 16.3.0)
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 |
|---|---|---|
| 1.0.32 | 222 | 4/7/2025 |
| 1.0.31 | 201 | 4/1/2025 |
| 1.0.30 | 196 | 4/1/2025 |
| 1.0.29 | 202 | 4/1/2025 |
| 1.0.28 | 199 | 4/1/2025 |
| 1.0.27 | 197 | 4/1/2025 |
| 1.0.26 | 203 | 4/1/2025 |
| 1.0.25 | 210 | 4/1/2025 |
| 1.0.24 | 205 | 4/1/2025 |
| 1.0.23 | 208 | 4/1/2025 |
| 1.0.22 | 206 | 4/1/2025 |
| 1.0.21 | 189 | 4/1/2025 |
| 1.0.20 | 203 | 4/1/2025 |
| 1.0.19 | 200 | 4/1/2025 |