H
Herve Bocuse
Hi,
I have a boolean variable like this:
[TypeConverter(typeof(MyBooleanConverter))]
private bool var = false;
TypeConverterAttribute attrib =
(TypeConverterAttribute)Attribute.GetCustomAttribute(_memberInfo,
typeof(TypeConverterAttribute));
But now I don't now how to create the proper TypeConverter instance
from attrib.
Thank you for your help
Herve
I have a boolean variable like this:
[TypeConverter(typeof(MyBooleanConverter))]
private bool var = false;
to a memberInfo. To retrieve the attribute I do:From somewhere else in the code, I can access this variable only thanks
TypeConverterAttribute attrib =
(TypeConverterAttribute)Attribute.GetCustomAttribute(_memberInfo,
typeof(TypeConverterAttribute));
But now I don't now how to create the proper TypeConverter instance
from attrib.
Thank you for your help
Herve