@@ -21,7 +21,7 @@ class TestDomainReload
2121 {
2222 abstract class CrossCaller : MarshalByRefObject
2323 {
24- public abstract ValueType Execte ( ValueType arg ) ;
24+ public abstract ValueType Execute ( ValueType arg ) ;
2525 }
2626
2727
@@ -81,7 +81,7 @@ public static void DomainReloadAndGC()
8181
8282 class CrossDomianObjectStep1 : CrossCaller
8383 {
84- public override ValueType Execte ( ValueType arg )
84+ public override ValueType Execute ( ValueType arg )
8585 {
8686 try
8787 {
@@ -120,9 +120,9 @@ from Python.EmbeddingTest.Domain import MyClass
120120 }
121121
122122
123- class CrossDomianObjectStep2 : CrossCaller
123+ class CrossDomainObjectStep2 : CrossCaller
124124 {
125- public override ValueType Execte ( ValueType arg )
125+ public override ValueType Execute ( ValueType arg )
126126 {
127127 // handle refering a clr object created in previous domain,
128128 // it should had been deserialized and became callable agian.
@@ -167,7 +167,7 @@ public override ValueType Execte(ValueType arg)
167167 [ Test ]
168168 public static void CrossDomainObject ( )
169169 {
170- RunDomainReloadSteps < CrossDomianObjectStep1 , CrossDomianObjectStep2 > ( ) ;
170+ RunDomainReloadSteps < CrossDomianObjectStep1 , CrossDomainObjectStep2 > ( ) ;
171171 }
172172
173173 #endregion
@@ -176,7 +176,7 @@ public static void CrossDomainObject()
176176
177177 class ReloadClassRefStep1 : CrossCaller
178178 {
179- public override ValueType Execte ( ValueType arg )
179+ public override ValueType Execute ( ValueType arg )
180180 {
181181 const string code = @"
182182from Python.EmbeddingTest.Domain import MyClass
@@ -224,7 +224,7 @@ def test_obj_call():
224224
225225 class ReloadClassRefStep2 : CrossCaller
226226 {
227- public override ValueType Execte ( ValueType arg )
227+ public override ValueType Execute ( ValueType arg )
228228 {
229229 var module = ( IntPtr ) arg ;
230230 using ( Py . GIL ( ) )
@@ -470,7 +470,7 @@ static void RunDomainReloadSteps<T1, T2>() where T1 : CrossCaller where T2 : Cro
470470 var caller = ( T1 ) domain . CreateInstanceAndUnwrap (
471471 typeof ( T1 ) . Assembly . FullName ,
472472 typeof ( T1 ) . FullName ) ;
473- arg = caller . Execte ( arg ) ;
473+ arg = caller . Execute ( arg ) ;
474474
475475 theProxy . Call ( "ShutdownPython" ) ;
476476 }
@@ -492,7 +492,7 @@ static void RunDomainReloadSteps<T1, T2>() where T1 : CrossCaller where T2 : Cro
492492 var caller = ( T2 ) domain . CreateInstanceAndUnwrap (
493493 typeof ( T2 ) . Assembly . FullName ,
494494 typeof ( T2 ) . FullName ) ;
495- caller . Execte ( arg ) ;
495+ caller . Execute ( arg ) ;
496496 theProxy . Call ( "ShutdownPythonCompletely" ) ;
497497 }
498498 finally
0 commit comments