0
|
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 }
|