using self/this
Posted: Wed Oct 29, 2008 9:32 am
Is there a way in cobra do something like below: (pyhon code)
Where you in the init (or in any method want to send the object) in C# it is this, but that errors on me.
Also, how can I access system dlls from within cobra? the c# code is
- Code: Select all
class Test
def __init__(self):
doSomething(self)
Where you in the init (or in any method want to send the object) in C# it is this, but that errors on me.
Also, how can I access system dlls from within cobra? the c# code is
- Code: Select all
[DllImport("user32.dll"]
public static extern void theFunction(string aVariable, int anotherVariable);
theFunction(aString,anInt);