Microsoft Bcl AsyncInterfaces

版本 v10.0.700·更新於 2026-04-23

NuGet Microsoft.Bcl.AsyncInterfaces package re-bundled for convenient consumption and dependency management.

模組介紹 作者原文

About

As of C# 8, the C# language has support for producing and consuming asynchronous iterators. The library types in support of those features are available in.NET Core 3.0 and newer as well as in.NET Standard 2.1. This library provides the necessary definitions of those types to support these language features on.NET Framework and on.NET Standard 2.0. This library is not necessary nor recommended when targeting versions of.NET that include the relevant support.

Key Features

  • Enables the use of C# async iterators on older.NET platforms

How to Use

using System;

using System.Collections.Generic;

using System.Threading.Tasks;

internal static class Program

{

private static async Task Main()

{

Console.WriteLine("Starting...");

await foreach (var value in GetValuesAsync())

{

Console.WriteLine(value);

}

Console.WriteLine("Finished!");

static async IAsyncEnumerable GetValuesAsync()

{

for (int i = 0; i

The main types provided by this library are:

  • IAsyncEnumerable
  • IAsyncEnumerator
  • IAsyncDisposable

Additional Documentation

  • C# Feature Specification
  • Walkthrough article

Feedback & Contributing

Microsoft.Bcl.AsyncInterfaces is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

檔案與校驗

檔案名稱
Microsoft_Bcl_AsyncInterfaces-10.0.700.zip
檔案大小
17.5 KiB