Class XmlTypeConverterAttribute
- Namespace
- NMF.Serialization
- Assembly
- NMF.Serialization.dll
Attribute to override a TypeConverter for Xml serialization
[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public sealed class XmlTypeConverterAttribute : Attribute
- Inheritance
-
XmlTypeConverterAttribute
- Inherited Members
Constructors
XmlTypeConverterAttribute(Type)
Creates a new XmlTypeConverterAttribute using the provided type
public XmlTypeConverterAttribute(Type type)
Parameters
type
TypeThe type to use as TypeConverter
Properties
Type
The converter type to use in serialization
public Type Type { get; }