WrapperProviderContext(Type, Boolean) 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 a WrapperProviderContext.
public:
WrapperProviderContext(Type ^ declaredType, bool isSerialization);
public WrapperProviderContext (Type declaredType, bool isSerialization);
new Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext : Type * bool -> Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext
Public Sub New (declaredType As Type, isSerialization As Boolean)
Parameters
- declaredType
- Type
The declared type of the object that needs to be wrapped.
- isSerialization
- Boolean
true
if the wrapper provider is invoked during
serialization, otherwise false
.