batteries 1.0.25
dotnet add package batteries --version 1.0.25
NuGet\Install-Package batteries -Version 1.0.25
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="batteries" Version="1.0.25" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="batteries" Version="1.0.25" />
<PackageReference Include="batteries" />
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 batteries --version 1.0.25
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: batteries, 1.0.25"
#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 batteries@1.0.25
#: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=batteries&version=1.0.25
#tool nuget:?package=batteries&version=1.0.25
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
batteries 
This is a personal and opinionated collection of packages with useful code.
Sometimes you've got a new game to play and you realize: no batteries included 😩 <br/>From now on, you just need to use batteries!
Description
This package contains useful common extension methods for everyday use.
Extensions
Disposable
- AddDisposableTo : Add a disposable to a composite disposable without any extra statement
Observable
missing extensions in system.reactive
- DisposeMany : similar to SelectMany, append disposables to a serial disposable
- LogAndRetry : better than retry, a retry extension that logs
- LogAndRetryAfterDelay : even better than retry and log, a retry that log and wait a bit afterwards
- RepeatAfterDelay : enhanced repeat extension
- RetryAfterDelay : enhanced retry extension
- RedoAfterDelay : enhanced redo extension
String
- TrimAfter : trim everything after a special character
TimeSpan
- AtLeast : sometimes you simply want to make sure nobody attempt to pass
TimeSpan.Zero
Url
- IsValidWebUrl : Copied from stackoverflow
Xml
- ExtractValueFromXmlQuery : simply extractor with xml document
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. net9.0 was computed. 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.
-
net8.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
- System.Reactive (>= 6.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on batteries:
| Package | Downloads |
|---|---|
|
batteries.Apache.NMS
opinionated collection of useful code |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.25 | 156 | 4/2/2026 |
| 1.0.24 | 561 | 11/20/2025 |
| 1.0.23 | 208 | 11/1/2025 |
| 1.0.22 | 175 | 10/31/2025 |
| 1.0.21 | 212 | 10/30/2025 |
| 1.0.20 | 304 | 6/2/2025 |
| 1.0.19 | 195 | 6/2/2025 |
| 1.0.18 | 155 | 5/24/2025 |
| 1.0.17 | 281 | 5/13/2025 |
| 1.0.16 | 288 | 5/13/2025 |
| 1.0.15 | 193 | 1/30/2025 |
| 1.0.14 | 159 | 1/26/2025 |
| 1.0.13 | 149 | 1/25/2025 |
| 1.0.12 | 171 | 1/23/2025 |
| 1.0.11 | 160 | 1/22/2025 |
| 1.0.10 | 157 | 1/22/2025 |
| 1.0.9 | 132 | 1/18/2025 |
| 1.0.8 | 139 | 1/18/2025 |
| 1.0.7 | 128 | 1/17/2025 |
| 1.0.6 | 142 | 1/17/2025 |