0
|
1 using System;
|
|
2 using System.Xml.Serialization;
|
|
3
|
|
4 namespace BLToolkit.Reflection
|
|
5 {
|
|
6 /// <summary>
|
|
7 /// Allows the <see cref="XmlSerializer"/> to recognize a type generated
|
|
8 /// by the BLToolkit when it serializes or deserializes an object.
|
|
9 /// </summary>
|
|
10 public class XmlIncludeAbstractAttribute : XmlIncludeAttribute
|
|
11 {
|
|
12 /// <summary>
|
|
13 /// Initializes a new instance of the <see cref="XmlIncludeAbstractAttribute"/> class.
|
|
14 /// </summary>
|
|
15 /// <param name="type">The <see cref="Type"/> of an abstract class to
|
|
16 /// include its BLToolkit extensions.</param>
|
|
17 public XmlIncludeAbstractAttribute(Type type)
|
|
18 : base(TypeBuilder.TypeFactory.GetType(type))
|
|
19 {
|
|
20 }
|
|
21 }
|
|
22 } |