O
Oriane
Hi,
I'm currently a method attribute which is used to check the "validity" of this method against a rule.
I wrote the isValid method, to be used inside the otriginal method:
For instance:
// Following is Csharp code
[ruleAttribute ("rule1")]
private void functionT12 ()
{
if (v.IsValid ()) {
...
}
}
isValid should be called with an method instance, taht is to say that "v" must reference the "functionT12" object.
So question is: how can I create a object reference on the current method ?
Is there something like a "CurrentMethod" property on a class object ?
Oriane
I'm currently a method attribute which is used to check the "validity" of this method against a rule.
I wrote the isValid method, to be used inside the otriginal method:
For instance:
// Following is Csharp code
[ruleAttribute ("rule1")]
private void functionT12 ()
{
if (v.IsValid ()) {
...
}
}
isValid should be called with an method instance, taht is to say that "v" must reference the "functionT12" object.
So question is: how can I create a object reference on the current method ?
Is there something like a "CurrentMethod" property on a class object ?
Oriane