IWrapperProviderFactory.GetProvider(WrapperProviderContext) Method
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.
Gets the IWrapperProvider for the provided context.
public:
Microsoft::AspNetCore::Mvc::Formatters::Xml::IWrapperProvider ^ GetProvider(Microsoft::AspNetCore::Mvc::Formatters::Xml::WrapperProviderContext ^ context);
public Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider GetProvider (Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext context);
public Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider? GetProvider (Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext context);
abstract member GetProvider : Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext -> Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider
Public Function GetProvider (context As WrapperProviderContext) As IWrapperProvider
Parameters
- context
- WrapperProviderContext
Returns
A wrapping provider if the factory decides to wrap the type, else null
.