Class XmlKnownTypeAttribute
- Namespace
- NMF.Serialization
- Assembly
- NMF.Serialization.dll
Instructs the serializer to explicitly read the provided type
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
public class XmlKnownTypeAttribute : Attribute
- Inheritance
-
XmlKnownTypeAttribute
- Inherited Members
Constructors
XmlKnownTypeAttribute(Type)
Creates a new instance
public XmlKnownTypeAttribute(Type type)
Parameters
type
Typethe known type
Properties
Type
The type
public Type Type { get; }