Mercurial > pub > bltoolkit
comparison Demo/WebServices/Client/WebClient/GenerateXmlIncludeAttribute.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 using BLToolkit.Reflection; | |
| 4 using BLToolkit.TypeBuilder; | |
| 5 | |
| 6 namespace Demo.WebServices.Client.WebClient | |
| 7 { | |
| 8 /// <summary> | |
| 9 /// Allows the <see cref="XmlSerializer"/> to recognize a type generated | |
| 10 /// by the BLToolkit when it serializes or deserializes an object. | |
| 11 /// </summary> | |
| 12 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = true)] | |
| 13 public class GenerateXmlIncludeAttribute : GenerateAttributeAttribute | |
| 14 { | |
| 15 /// <summary> | |
| 16 /// Initializes a new instance of the <see cref="GenerateXmlIncludeAttribute"/> class. | |
| 17 /// </summary> | |
| 18 /// <param name="type">The <see cref="Type"/> of an abstract class to | |
| 19 /// include its BLToolkit extensions.</param> | |
| 20 public GenerateXmlIncludeAttribute(Type type) | |
| 21 : base(typeof(XmlIncludeAbstractAttribute), type) | |
| 22 { | |
| 23 } | |
| 24 } | |
| 25 } |
