IWrapperProviderFactory.GetProvider(WrapperProviderContext) 方法

定义

IWrapperProvider获取所提供上下文的 。

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

参数

返回

如果工厂决定包装类型,则为包装提供程序,否则 null为 。

适用于