J
Julia
Hi,
Is there any why I could use attribute or something else
to instruct the compiler to inject a specific code for a property?
for example i have the following property and i would like that 3 lines of
code will be running
for the set function,note that i am not taking about code generation!
public virtual System.String TelephoneNumber
{
get
{
return m_TelephoneNumber;
}
set
{
//Line1
//Line2
//Line3+ m_TelephoneNumber
}
}
thanks in advance.
Is there any why I could use attribute or something else
to instruct the compiler to inject a specific code for a property?
for example i have the following property and i would like that 3 lines of
code will be running
for the set function,note that i am not taking about code generation!
public virtual System.String TelephoneNumber
{
get
{
return m_TelephoneNumber;
}
set
{
//Line1
//Line2
//Line3+ m_TelephoneNumber
}
}
thanks in advance.