batteries 1.0.12

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

// Install batteries as a Cake Tool
#tool nuget:?package=batteries&version=1.0.12                

NuGet Version

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

  • AtLeas : sometimes you simply want to make sure nobody attempt to pass TimeSpan.Zero

Url

Xml

  • ExtractValueFromXmlQuery : simply extractor with xml document
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.12 0 1/23/2025
1.0.11 20 1/22/2025
1.0.10 25 1/22/2025
1.0.9 41 1/18/2025
1.0.8 40 1/18/2025
1.0.7 41 1/17/2025
1.0.6 38 1/17/2025