Mercurial > pub > bltoolkit
comparison Source/Reflection/Extension/TypeExtensionAttribute.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 | |
3 namespace BLToolkit.Reflection.Extension | |
4 { | |
5 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum)] | |
6 public class TypeExtensionAttribute : Attribute | |
7 { | |
8 public TypeExtensionAttribute() | |
9 { | |
10 } | |
11 | |
12 public TypeExtensionAttribute(string typeName) | |
13 : this(null, typeName) | |
14 { | |
15 } | |
16 | |
17 public TypeExtensionAttribute(string fileName, string typeName) | |
18 { | |
19 FileName = fileName; | |
20 TypeName = typeName; | |
21 } | |
22 | |
23 public string FileName { get; set; } | |
24 public string TypeName { get; set; } | |
25 } | |
26 } |