static void provider_Supply(TestRemotingCommon.ITest obj) { Regulus.Remoting.Ghost.IGhost g = obj as Regulus.Remoting.Ghost.IGhost; var id = g.GetID(); obj.a1 += new Action(obj_a1); obj.a2 += new Action<int>(obj_a2); try { var val = obj.TestMethod(12345); val.OnValue += val_OnValue; } catch (System.AccessViolationException e) { throw; } }
static void provider_Unsupply(TestRemotingCommon.ITest obj) { }