Dela via


EnumerableWrapperProvider Class

Definition

Provides a IWrapperProvider for interface types which implement IEnumerable<T>.

public ref class EnumerableWrapperProvider : Microsoft::AspNetCore::Mvc::Formatters::Xml::IWrapperProvider
public class EnumerableWrapperProvider : Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider
type EnumerableWrapperProvider = class
    interface IWrapperProvider
Public Class EnumerableWrapperProvider
Implements IWrapperProvider
Inheritance
EnumerableWrapperProvider
Implements

Constructors

EnumerableWrapperProvider(Type, IWrapperProvider)

Initializes an instance of EnumerableWrapperProvider.

Properties

WrappingType

Gets the wrapping type.

Methods

Wrap(Object)

Wraps the given object to the wrapping type provided by WrappingType.

Applies to