DelegatingEnumerable<TWrapped,TDeclared> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
DelegatingEnumerable<TWrapped,TDeclared>()
public:
DelegatingEnumerable();
public DelegatingEnumerable ();
Public Sub New ()
備註
這是序列化的必要建構函 DataContractSerializer 式。
適用於
DelegatingEnumerable<TWrapped,TDeclared>(IEnumerable<TDeclared>, IWrapperProvider)
DelegatingEnumerable<TWrapped,TDeclared>使用原始 IEnumerable<T> 和包裝函式提供者初始化 ,以包裝個別專案。
public:
DelegatingEnumerable(System::Collections::Generic::IEnumerable<TDeclared> ^ source, Microsoft::AspNetCore::Mvc::Formatters::Xml::IWrapperProvider ^ elementWrapperProvider);
public DelegatingEnumerable (System.Collections.Generic.IEnumerable<TDeclared> source, Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider elementWrapperProvider);
new Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerable<'Wrapped, 'Declared> : seq<'Declared> * Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider -> Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerable<'Wrapped, 'Declared>
Public Sub New (source As IEnumerable(Of TDeclared), elementWrapperProvider As IWrapperProvider)
參數
- source
- IEnumerable<TDeclared>
要 IEnumerable<T> 從中取得列舉值的 實例。
- elementWrapperProvider
- IWrapperProvider
包裝個別專案的包裝函式提供者。