DelegatingEnumerator<TWrapped,TDeclared> 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將專案的列舉委派給原始列舉值,並將專案包裝為提供的 IWrapperProvider 。
generic <typename TWrapped, typename TDeclared>
public ref class DelegatingEnumerator : System::Collections::Generic::IEnumerator<TWrapped>
C#
public class DelegatingEnumerator<TWrapped,TDeclared> : System.Collections.Generic.IEnumerator<TWrapped>
type DelegatingEnumerator<'Wrapped, 'Declared> = class
interface IEnumerator<'Wrapped>
interface IEnumerator
interface IDisposable
Public Class DelegatingEnumerator(Of TWrapped, TDeclared)
Implements IEnumerator(Of TWrapped)
- TWrapped
需要包裝個別元素的型別。
- TDeclared
要包裝之專案的原始型別。
- 繼承
-
DelegatingEnumerator<TWrapped,TDeclared>
- 實作
Delegating |
初始化 , DelegatingEnumerable<TWrapped,TDeclared> 它會列舉原始列舉值的專案,並使用提供的 IWrapperProvider 包裝它們。 |
Current |
將專案的列舉委派給原始列舉值,並將專案包裝為提供的 IWrapperProvider 。 |
Dispose() |
將專案的列舉委派給原始列舉值,並將專案包裝為提供的 IWrapperProvider 。 |
Move |
將專案的列舉委派給原始列舉值,並將專案包裝為提供的 IWrapperProvider 。 |
Reset() |
將專案的列舉委派給原始列舉值,並將專案包裝為提供的 IWrapperProvider 。 |
IEnumerator. |
將專案的列舉委派給原始列舉值,並將專案包裝為提供的 IWrapperProvider 。 |
產品 | 版本 |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |