H
Hugo Batista
Hi there
Does anybody know how can a custom attribute know in its instance the target
type ? I don't need the target instance neither interact with it.. i just
need to know the target type .
Otherwise, it will be very weird to declare something like
[MyCustomAttribute(typeof(MyType))]
class MyType(){
}
thanks!
HB
Does anybody know how can a custom attribute know in its instance the target
type ? I don't need the target instance neither interact with it.. i just
need to know the target type .
Otherwise, it will be very weird to declare something like
[MyCustomAttribute(typeof(MyType))]
class MyType(){
}
thanks!
HB