Class XmlWrapper
Provide ways to override the default XML serialization.
Inherited Members
Namespace: Cuemon.Xml.Serialization
Assembly: Cuemon.Xml.dll
Syntax
public abstract class XmlWrapper : Wrapper<object>, IWrapper<object>, IData
Constructors
| Improve this DocXmlWrapper(Object)
Initializes a new instance of the XmlWrapper class.
Declaration
protected XmlWrapper(object instance)
Parameters
Type | Name | Description |
---|---|---|
System.Object | instance | The instance to override normal serialization naming logic. |
Properties
| Improve this DocData
Gets a collection of key/value pairs that provide additional user-defined information about this wrapper object.
Declaration
public override IDictionary<string, object> Data { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | An object that implements the System.Collections.Generic.IDictionary<TKey, TValue> interface and contains a collection of user-defined key/value pairs. |
Overrides
HasMemberReference
Gets a value indicating whether this instance has a member reference.
Declaration
public override bool HasMemberReference { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Overrides
InstanceName
Gets or sets the name of the instance used in XML serialization. Overrides normal serialization logic.
Declaration
public abstract XmlQualifiedEntity InstanceName { get; set; }
Property Value
Type | Description |
---|---|
XmlQualifiedEntity | The name of the instance used in XML serialization. |
InstanceType
Gets the type of the object that this wrapper represents.
Declaration
public override Type InstanceType { get; protected set; }
Property Value
Type | Description |
---|---|
System.Type | The type of the that this wrapper represents. |
Overrides
MemberReference
Gets the member from where Instance was referenced.
Declaration
public override MemberInfo MemberReference { get; set; }
Property Value
Type | Description |
---|---|
System.Reflection.MemberInfo | The member from where Instance was referenced. |