SoapExtensions 1.0.2

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

// Install SoapExtensions as a Cake Tool
#tool nuget:?package=SoapExtensions&version=1.0.2

Extension Methods Library

This is a class library containing various extension methods for common .NET types and tasks.

Contents

  • EnumerationExtensions - Extension methods for enumerating over ranges and collections
  • JsonExtensions - Extension methods for serializing and deserializing JSON
  • TaskExtensions - Extension methods for chaining and adding timeout to tasks

Usage

The methods are intended to be used fluently on existing types. For example:

using SoapExtensions;

var range = 1..10;

range.ForEach(x => Console.WriteLine(x));

foreach(var i in 1..10)
{
  //Do Something
}

var json = "{ \"name\": \"John\" }";

var obj = json.To<User>(); 

var user = new User();

var json = user.ToJson();

See the XML documentation in the source files for specifics on each method.

Installation

To use the library in your project:

  1. Add the ExtensionMethods project or compiled assembly as a reference
  2. Add a using directive to include the namespace
  3. Call the extension methods on the desired types

Contribution

Contributions welcome! Open an issue or PR if you would like to request or add functionality.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2 220 10/12/2023
1.0.1 119 10/12/2023
1.0.0 144 9/1/2023