Compartir a través de


WrapperProviderFactoriesExtensions.GetWrapperProvider Método

Definición

Obtiene una instancia de IWrapperProvider para el tipo proporcionado.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Mvc::Formatters::Xml::IWrapperProvider ^ GetWrapperProvider(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::Formatters::Xml::IWrapperProviderFactory ^> ^ wrapperProviderFactories, Microsoft::AspNetCore::Mvc::Formatters::Xml::WrapperProviderContext ^ wrapperProviderContext);
public static Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider GetWrapperProvider (this System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory> wrapperProviderFactories, Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext wrapperProviderContext);
public static Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider? GetWrapperProvider (this System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory> wrapperProviderFactories, Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext wrapperProviderContext);
static member GetWrapperProvider : seq<Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory> * Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext -> Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider
<Extension()>
Public Function GetWrapperProvider (wrapperProviderFactories As IEnumerable(Of IWrapperProviderFactory), wrapperProviderContext As WrapperProviderContext) As IWrapperProvider

Parámetros

wrapperProviderFactories
IEnumerable<IWrapperProviderFactory>

Lista de elementos IWrapperProviderFactory.

Devoluciones

Instancia de si hay un proveedor de IWrapperProvider ajuste para el tipo proporcionado; de lo contrario, null.

Se aplica a