Compartilhar via


EnumerableWrapperProvider(Type, IWrapperProvider) Construtor

Definição

Inicializa uma instância de 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)

Parâmetros

sourceEnumerableOfT
Type

Tipo do original IEnumerable<T> que está sendo encapsulado.

elementWrapperProvider
IWrapperProvider

O IWrapperProvider para o tipo de elemento. Pode ser nulo.

Aplica-se a