Example #1
0
 def test_cliobject(self):
     import clr
     obj = clr._CliObject_internal('System.Collections.ArrayList', [])
     max_index = obj.call_method('Add', [42])
     assert max_index == 0
Example #2
0
 def __init__(self, *args):
     import clr
     self.__cliobj__ = clr._CliObject_internal(self.__fullyqualifiedname__, args)
Example #3
0
 def test_cliobject(self):
     import clr
     obj = clr._CliObject_internal('System.Collections.ArrayList', [])
     max_index = obj.call_method('Add', [42])
     assert max_index == 0
Example #4
0
 def __init__(self, *args):
     import clr
     self.__cliobj__ = clr._CliObject_internal(self.__cliclass__, args)