This commit is contained in:
CortexCore
2024-11-23 17:24:25 +08:00
parent a8ed155236
commit 1b71993e32
27 changed files with 7232 additions and 14 deletions

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>System.Collections.Immutable</id>
<version>6.0.0</version>
<authors>Microsoft</authors>
<license type="expression">MIT</license>
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
<icon>Icon.png</icon>
<projectUrl>https://dot.net/</projectUrl>
<description>This package provides collections that are thread safe and guaranteed to never change their contents, also known as immutable collections. Like strings, any methods that perform modifications will not change the existing instance but instead return a new instance. For efficiency reasons, the implementation uses a sharing mechanism to ensure that newly created instances share as much data as possible with the previous instance while ensuring that operations have a predictable time complexity.
Commonly Used Types:
System.Collections.Immutable.ImmutableArray
System.Collections.Immutable.ImmutableArray&lt;T&gt;
System.Collections.Immutable.ImmutableDictionary
System.Collections.Immutable.ImmutableDictionary&lt;TKey,TValue&gt;
System.Collections.Immutable.ImmutableHashSet
System.Collections.Immutable.ImmutableHashSet&lt;T&gt;
System.Collections.Immutable.ImmutableList
System.Collections.Immutable.ImmutableList&lt;T&gt;
System.Collections.Immutable.ImmutableQueue
System.Collections.Immutable.ImmutableQueue&lt;T&gt;
System.Collections.Immutable.ImmutableSortedDictionary
System.Collections.Immutable.ImmutableSortedDictionary&lt;TKey,TValue&gt;
System.Collections.Immutable.ImmutableSortedSet
System.Collections.Immutable.ImmutableSortedSet&lt;T&gt;
System.Collections.Immutable.ImmutableStack
System.Collections.Immutable.ImmutableStack&lt;T&gt;</description>
<releaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</releaseNotes>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<serviceable>true</serviceable>
<repository type="git" url="https://github.com/dotnet/runtime" commit="4822e3c3aa77eb82b2fb33c9321f923cf11ddde6" />
<dependencies>
<group targetFramework=".NETFramework4.6.1">
<dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" exclude="Build,Analyzers" />
<dependency id="System.Memory" version="4.5.4" exclude="Build,Analyzers" />
</group>
<group targetFramework="net6.0">
<dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.0">
<dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" exclude="Build,Analyzers" />
<dependency id="System.Memory" version="4.5.4" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
</package>