User: xtoff
Date: 2009/12/19 08:48 AM
Modified:
/InversionOfControl/trunk/src/Castle.MicroKernel/Proxy/
ProxyUtil.cs
/InversionOfControl/trunk/src/Castle.Windsor.Tests/
SmartProxyTestCase.cs
Log:
Applied patch from Simon Cropp for IOC-ISSUE-182 - no RemotingServices in
silverlight
File Changes:
Directory: /InversionOfControl/trunk/src/Castle.Windsor.Tests/
==============================================================
File [modified]: SmartProxyTestCase.cs
Delta lines: +0 -0
===================================================================
Directory: /InversionOfControl/trunk/src/Castle.MicroKernel/Proxy/
==================================================================
File [modified]: ProxyUtil.cs
Delta lines: +4 -0
===================================================================
--- InversionOfControl/trunk/src/Castle.Windsor.Tests/SmartProxyTestCase.cs
2009-12-19 15:43:43 UTC (rev 6467)
+++ InversionOfControl/trunk/src/Castle.Windsor.Tests/SmartProxyTestCase.cs
2009-12-19 15:47:58 UTC (rev 6468)
@@ -65,7 +65,9 @@
ICalcService service = (ICalcService)
_container.Resolve("key");
Assert.IsNotNull(service);
+#if (!SILVERLIGHT)
Assert.IsFalse(RemotingServices.IsTransparentProxy(service));
+#endif
Assert.AreEqual(7, service.Sum(2, 2));
}
@@ -78,7 +80,9 @@
CalculatorService service = (CalculatorService)
_container.Resolve("key");
Assert.IsNotNull(service);
+#if (!SILVERLIGHT)
Assert.IsFalse(RemotingServices.IsTransparentProxy(service));
+#endif
Assert.AreEqual(7, service.Sum(2, 2));
}
--
You received this message because you are subscribed to the Google Groups
"Castle Project Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-commits?hl=en.