annotate Source/Reflection/XmlIncludeAbstractAttribute.cs @ 6:11b6da379593

Исправлена странная ошибка при использовании OfType<...>().Where(...)
author cin
date Mon, 05 Dec 2016 05:50:52 +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
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 namespace BLToolkit.Reflection
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 /// <summary>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 /// Allows the <see cref="XmlSerializer"/> to recognize a type generated
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 /// by the BLToolkit when it serializes or deserializes an object.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9 /// </summary>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 public class XmlIncludeAbstractAttribute : XmlIncludeAttribute
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 /// <summary>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13 /// Initializes a new instance of the <see cref="XmlIncludeAbstractAttribute"/> class.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 /// </summary>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15 /// <param name="type">The <see cref="Type"/> of an abstract class to
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 /// include its BLToolkit extensions.</param>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 public XmlIncludeAbstractAttribute(Type type)
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
18 : base(TypeBuilder.TypeFactory.GetType(type))
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
19 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
20 }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
21 }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
22 }