annotate Demo/WebServices/Client/WebClient/GenerateXmlIncludeAttribute.cs @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
parents f990fcb411a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 using System;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2 using System.Xml.Serialization;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3 using BLToolkit.Reflection;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 using BLToolkit.TypeBuilder;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 namespace Demo.WebServices.Client.WebClient
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 /// <summary>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9 /// Allows the <see cref="XmlSerializer"/> to recognize a type generated
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 /// by the BLToolkit when it serializes or deserializes an object.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 /// </summary>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = true)]
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13 public class GenerateXmlIncludeAttribute : GenerateAttributeAttribute
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15 /// <summary>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 /// Initializes a new instance of the <see cref="GenerateXmlIncludeAttribute"/> class.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 /// </summary>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
18 /// <param name="type">The <see cref="Type"/> of an abstract class to
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
19 /// include its BLToolkit extensions.</param>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
20 public GenerateXmlIncludeAttribute(Type type)
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
21 : base(typeof(XmlIncludeAbstractAttribute), type)
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
22 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
23 }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
24 }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
25 }