I'm using custom attribute to convert value to property, I can't define attribute to property since I'm getting property from some other dll. Is there any way to apply my custom converter attribute to property in my code.
[Converter(typeof(MyConverter))]
public double Amount
{
get
{
return amount;
}
set
{
amount = value;
}
}
I can do this but since the property is not defined within my code, I want to do it in somewhere else.
Amount.Attribute.Converter(MyConverter); I want something like this