Mercurial > pub > bltoolkit
comparison Source/Reflection/XmlIncludeAbstractAttribute.cs @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f990fcb411a9 |
---|---|
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 } |