Beizsoft.Factories.Interned
1.0.0
dotnet add package Beizsoft.Factories.Interned --version 1.0.0
NuGet\Install-Package Beizsoft.Factories.Interned -Version 1.0.0
<PackageReference Include="Beizsoft.Factories.Interned" Version="1.0.0" />
paket add Beizsoft.Factories.Interned --version 1.0.0
#r "nuget: Beizsoft.Factories.Interned, 1.0.0"
// Install Beizsoft.Factories.Interned as a Cake Addin
#addin nuget:?package=Beizsoft.Factories.Interned&version=1.0.0
// Install Beizsoft.Factories.Interned as a Cake Tool
#tool nuget:?package=Beizsoft.Factories.Interned&version=1.0.0
Beizsoft.Factories.Interned
A library which provides an InterningFactory<T, TContext>
in order to intern factory-built classes which were built with the same TContext
.
This package is a small glue package for Beizsoft.Factories and Beizsoft.Interning.
To use the InterningFactory
, one can construct it using its public constructor which takes an IInterner
, or use the provided extension methods on IInterner
(eg: ToFactory
, or ToStructFactory
. ToFactory
creates an IFactory
-implementing class instance for treating the IInterner
as an IFactory
, while ToStructFactory
does the same. In most cases, users will want to use ToFactory
, and avoid calling this multiple times so as not to incur unnecessary allocations. The ToStructFactory
variant should only be used in a context where the resulting factory is never treated as its interface type, which would incur boxing.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Beizsoft.Factories (>= 1.0.0)
- Beizsoft.Interning (>= 1.0.0)
-
net5.0
- Beizsoft.Factories (>= 1.0.0)
- Beizsoft.Interning (>= 1.0.0)
-
net6.0
- Beizsoft.Factories (>= 1.0.0)
- Beizsoft.Interning (>= 1.0.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 |
---|