AutoFixture.Community.ImmutableCollections 1.0.0

An AutoFixture customization that allows AutoFixture to create specimens of the immutable collections found in the System.Collections.Immutable namespace.

Install-Package AutoFixture.Community.ImmutableCollections -Version 1.0.0
dotnet add package AutoFixture.Community.ImmutableCollections --version 1.0.0
<PackageReference Include="AutoFixture.Community.ImmutableCollections" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoFixture.Community.ImmutableCollections --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AutoFixture.Community.ImmutableCollections, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AutoFixture.Community.ImmutableCollections as a Cake Addin
#addin nuget:?package=AutoFixture.Community.ImmutableCollections&version=1.0.0

// Install AutoFixture.Community.ImmutableCollections as a Cake Tool
#tool nuget:?package=AutoFixture.Community.ImmutableCollections&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

AutoFixture.Community.ImmutableCollections

Creating specimens for System.Collections.Immutable.

Supports .NET Core (.NET Standard 2+)

Supports

The following types from the System.Collection.Immutable namespace are supported.

Structs

  • ImmutableArray

Classes

  • ImmutableDictionary
  • ImmutableHashSet
  • ImmutableList
  • ImmutableSortedDictionary
  • ImmutableStack
  • ImmutableQueue

Interfaces

  • IImmutableDictionary
  • IImmutableList
  • IImmutableSet
  • IImmutableSortedSet
  • IImmutableStack
  • IImmutableQueue

Installation

PM> Install-Package AutoFixture.Community.ImmutableCollections

Usage

var fixture = new Fixture().Customize(new ImmutableCollectionsCustomization());
var immutableList = fixture.Create<ImmutableList<string>>();

AutoFixture.Community.ImmutableCollections

Creating specimens for System.Collections.Immutable.

Supports .NET Core (.NET Standard 2+)

Supports

The following types from the System.Collection.Immutable namespace are supported.

Structs

  • ImmutableArray

Classes

  • ImmutableDictionary
  • ImmutableHashSet
  • ImmutableList
  • ImmutableSortedDictionary
  • ImmutableStack
  • ImmutableQueue

Interfaces

  • IImmutableDictionary
  • IImmutableList
  • IImmutableSet
  • IImmutableSortedSet
  • IImmutableStack
  • IImmutableQueue

Installation

PM> Install-Package AutoFixture.Community.ImmutableCollections

Usage

var fixture = new Fixture().Customize(new ImmutableCollectionsCustomization());
var immutableList = fixture.Create<ImmutableList<string>>();

Release Notes

Initial release

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 1,350 11/26/2020
1.0.0-alpha 157 11/15/2020