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. Supported Platforms: - .NET Framework 4.5 - Windows 8 - Windows Phone Silverlight 8 - Windows Phone 8.1 - Portable Class Libraries
dotnet add package System.Collections.Immutable --version 1.1.33-beta
Install-Package System.Collections.Immutable -Version 1.1.33-beta
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2014-12-10 23:40:03 |
| 项目主页 | http://go.microsoft.com/fwlink/?LinkID=310193 |
| 许可证 | http://go.microsoft.com/fwlink/?LinkId=329770 |