From d65d349c63a59ecccc9aac38f4428d6c8664dc2a Mon Sep 17 00:00:00 2001 From: markpollack Date: Tue, 4 Nov 2008 04:00:00 +0000 Subject: [PATCH] add MONO conditional compilation flags. --- .../Spring.Web/Web/Support/DefaultHandlerFactory.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Spring/Spring.Web/Web/Support/DefaultHandlerFactory.cs b/src/Spring/Spring.Web/Web/Support/DefaultHandlerFactory.cs index c18e44ad..05a5ee4c 100644 --- a/src/Spring/Spring.Web/Web/Support/DefaultHandlerFactory.cs +++ b/src/Spring/Spring.Web/Web/Support/DefaultHandlerFactory.cs @@ -30,20 +30,27 @@ using Spring.Util; namespace Spring.Web.Support { +#if !MONO /// /// SimpleHandlerFactory is used to wrap any arbitrary to make it "Spring-aware". /// /// - /// By default, an instance of is used as underlying factory. + /// By default, an instance of is used as underlying factory. /// /// Erich Eichinger +#endif public class DefaultHandlerFactory : AbstractHandlerFactory { private readonly IHttpHandlerFactory _innerFactory; - +#if !MONO /// /// Creates a new instance, using a as underlying factory. /// +#else + /// + /// Creates a new instance of the DefaultHandlerFactory + /// +#endif public DefaultHandlerFactory() : this(SimpleHandlerFactory) { }