Dela via


EnumerableWrapperProvider(Type, IWrapperProvider) Constructor

Definition

Initializes an instance of EnumerableWrapperProvider.

public:
 EnumerableWrapperProvider(Type ^ sourceEnumerableOfT, Microsoft::AspNetCore::Mvc::Formatters::Xml::IWrapperProvider ^ elementWrapperProvider);
public EnumerableWrapperProvider (Type sourceEnumerableOfT, Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider elementWrapperProvider);
public EnumerableWrapperProvider (Type sourceEnumerableOfT, Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider? elementWrapperProvider);
new Microsoft.AspNetCore.Mvc.Formatters.Xml.EnumerableWrapperProvider : Type * Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider -> Microsoft.AspNetCore.Mvc.Formatters.Xml.EnumerableWrapperProvider
Public Sub New (sourceEnumerableOfT As Type, elementWrapperProvider As IWrapperProvider)

Parameters

sourceEnumerableOfT
Type

Type of the original IEnumerable<T> that is being wrapped.

elementWrapperProvider
IWrapperProvider

The IWrapperProvider for the element type. Can be null.

Applies to