EnumerableWrapperProvider(Type, IWrapperProvider) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.