User: xtoff
Date: 2009/12/17 01:21 PM

Modified:
 /InversionOfControl/trunk/src/Castle.MicroKernel/Handlers/
  HandlerException.cs
 /InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/
  SingletonLifestyleManager.cs, TransientLifestyleManager.cs
 /InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/Pool/
  DefaultPoolFactory.cs, PoolException.cs
 /InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/
  ConstructorDependenciesModelInspector.cs, GenericInspector.cs, 
LifecycleModelInspector.cs, LifestyleModelInspector.cs, 
PropertiesDependenciesModelInspector.cs
 /InversionOfControl/trunk/src/Castle.MicroKernel/Resolvers/
  DependencyResolverException.cs
 /InversionOfControl/trunk/src/Castle.MicroKernel/SubSystems/Conversion/
  ConverterException.cs

Log:
 

File Changes:

Directory: 
/InversionOfControl/trunk/src/Castle.MicroKernel/SubSystems/Conversion/
==================================================================================

File [modified]: ConverterException.cs
Delta lines: +0 -0
===================================================================

Directory: /InversionOfControl/trunk/src/Castle.MicroKernel/Handlers/
=====================================================================

File [modified]: HandlerException.cs
Delta lines: +2 -0
===================================================================

--- 
InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/Pool/DefaultPoolFactory.cs
        2009-12-17 18:59:15 UTC (rev 6444)
+++ 
InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/Pool/DefaultPoolFactory.cs
        2009-12-17 20:21:37 UTC (rev 6445)
@@ -16,7 +16,9 @@
 {
        using System;
 
+#if (!SILVERLIGHT)
        [Serializable]
+#endif
        public class DefaultPoolFactory : IPoolFactory
        {

Directory: 
/InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/
====================================================================================

File [modified]: ConstructorDependenciesModelInspector.cs
Delta lines: +2 -3
===================================================================

--- 
InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/GenericInspector.cs
 2009-12-17 18:59:15 UTC (rev 6444)
+++ 
InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/GenericInspector.cs
 2009-12-17 20:21:37 UTC (rev 6445)
@@ -19,10 +19,9 @@
        using Castle.Core;
        using Castle.Core.Configuration;
 
-       /// <summary>
-       /// 
-       /// </summary>
+#if (!SILVERLIGHT)
        [Serializable]
+#endif
        public class GenericInspector : IContributeComponentModelConstruction
        {

File [modified]: GenericInspector.cs
Delta lines: +2 -0
===================================================================

--- 
InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/LifecycleModelInspector.cs
  2009-12-17 18:59:15 UTC (rev 6444)
+++ 
InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/LifecycleModelInspector.cs
  2009-12-17 20:21:37 UTC (rev 6445)
@@ -25,7 +25,9 @@
        /// Inspects the type looking for interfaces that constitutes
        /// lifecycle interfaces, defined in the Castle.Model namespace.
        /// </summary>
+#if (!SILVERLIGHT)
        [Serializable]
+#endif
        public class LifecycleModelInspector : 
IContributeComponentModelConstruction
        {

File [modified]: LifecycleModelInspector.cs
Delta lines: +2 -0
===================================================================

--- 
InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/LifestyleModelInspector.cs
  2009-12-17 18:59:15 UTC (rev 6444)
+++ 
InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/LifestyleModelInspector.cs
  2009-12-17 20:21:37 UTC (rev 6445)
@@ -29,7 +29,9 @@
        /// If nothing could be found it wont touch the model. In this case is 
up to
        /// the kernel to estabish a default lifestyle for components.
        /// </remarks>
+#if (!SILVERLIGHT)
        [Serializable]
+#endif
        public class LifestyleModelInspector : 
IContributeComponentModelConstruction
        {

File [modified]: LifestyleModelInspector.cs
Delta lines: +4 -0
===================================================================

--- 
InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/PropertiesDependenciesModelInspector.cs
     2009-12-17 18:59:15 UTC (rev 6444)
+++ 
InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/PropertiesDependenciesModelInspector.cs
     2009-12-17 20:21:37 UTC (rev 6445)
@@ -28,10 +28,14 @@
        /// The Kernel might be able to set some of these properties when the 
component 
        /// is requested.
        /// </summary>
+#if (!SILVERLIGHT)
        [Serializable]
+#endif
        public class PropertiesDependenciesModelInspector : 
IContributeComponentModelConstruction
        {
+#if (!SILVERLIGHT)
                [NonSerialized]
+#endif
                private IConversionManager converter;
 

File [modified]: PropertiesDependenciesModelInspector.cs
Delta lines: +5 -1
===================================================================

--- 
InversionOfControl/trunk/src/Castle.MicroKernel/Resolvers/DependencyResolverException.cs
    2009-12-17 18:59:15 UTC (rev 6444)
+++ 
InversionOfControl/trunk/src/Castle.MicroKernel/Resolvers/DependencyResolverException.cs
    2009-12-17 20:21:37 UTC (rev 6445)
@@ -20,8 +20,10 @@
        /// <summary>
        /// Summary description for DependencyResolverException.
        /// </summary>
+#if (!SILVERLIGHT)
        [Serializable]
-       public class DependencyResolverException : Exception
+#endif
+       public class DependencyResolverException : ApplicationException
        {
                /// <summary>
                /// Initializes a new instance of the <see 
cref="DependencyResolverException"/> class.
@@ -31,6 +33,7 @@
                {
                }
 
+#if (!SILVERLIGHT)
                /// <summary>
                /// Initializes a new instance of the <see 
cref="DependencyResolverException"/> class.
                /// </summary>
@@ -39,5 +42,6 @@
                public DependencyResolverException(SerializationInfo info, 
StreamingContext context) : base(info, context)
                {
                }
+#endif
        }

Directory: /InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/
======================================================================

File [modified]: SingletonLifestyleManager.cs
Delta lines: +2 -0
===================================================================

--- 
InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/TransientLifestyleManager.cs
      2009-12-17 18:59:15 UTC (rev 6444)
+++ 
InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/TransientLifestyleManager.cs
      2009-12-17 20:21:37 UTC (rev 6445)
@@ -19,7 +19,9 @@
        /// <summary>
        /// Summary description for TransientLifestyleManager.
        /// </summary>
+#if (!SILVERLIGHT)
        [Serializable]
+#endif
        public class TransientLifestyleManager : AbstractLifestyleManager
        {

File [modified]: TransientLifestyleManager.cs
Delta lines: +4 -0
===================================================================

--- 
InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/ConstructorDependenciesModelInspector.cs
    2009-12-17 18:59:15 UTC (rev 6444)
+++ 
InversionOfControl/trunk/src/Castle.MicroKernel/ModelBuilder/Inspectors/ConstructorDependenciesModelInspector.cs
    2009-12-17 20:21:37 UTC (rev 6445)
@@ -26,10 +26,14 @@
        /// as candidates. The Kernel will pick up one of the candidates
        /// according to a heuristic.
        /// </summary>
+#if (!SILVERLIGHT)
        [Serializable]
+#endif
        public class ConstructorDependenciesModelInspector : 
IContributeComponentModelConstruction
        {
+#if (!SILVERLIGHT)
                [NonSerialized]
+#endif
                private IConversionManager converter;
 

Directory: /InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/Pool/
===========================================================================

File [modified]: DefaultPoolFactory.cs
Delta lines: +6 -2
===================================================================

--- 
InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/Pool/PoolException.cs 
    2009-12-17 18:59:15 UTC (rev 6444)
+++ 
InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/Pool/PoolException.cs 
    2009-12-17 20:21:37 UTC (rev 6445)
@@ -17,15 +17,19 @@
        using System;
        using System.Runtime.Serialization;
 
+#if (!SILVERLIGHT)
        [Serializable]
-       public class PoolException : Exception
+#endif
+       public class PoolException : ApplicationException
        {
                public PoolException(string message) : base(message)
                {
                }
-
+               
+#if (!SILVERLIGHT)
                public PoolException(SerializationInfo info, StreamingContext 
context) : base(info, context)
                {
                }
+#endif
        }

File [modified]: PoolException.cs
Delta lines: +2 -0
===================================================================

--- 
InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/SingletonLifestyleManager.cs
      2009-12-17 18:59:15 UTC (rev 6444)
+++ 
InversionOfControl/trunk/src/Castle.MicroKernel/Lifestyle/SingletonLifestyleManager.cs
      2009-12-17 20:21:37 UTC (rev 6445)
@@ -19,7 +19,9 @@
        /// <summary>
        /// Summary description for SingletonLifestyleManager.
        /// </summary>
+#if (!SILVERLIGHT)
        [Serializable]
+#endif
        public class SingletonLifestyleManager : AbstractLifestyleManager
        {

Directory: /InversionOfControl/trunk/src/Castle.MicroKernel/Resolvers/
======================================================================

File [modified]: DependencyResolverException.cs
Delta lines: +6 -2
===================================================================

--- 
InversionOfControl/trunk/src/Castle.MicroKernel/SubSystems/Conversion/ConverterException.cs
 2009-12-17 18:59:15 UTC (rev 6444)
+++ 
InversionOfControl/trunk/src/Castle.MicroKernel/SubSystems/Conversion/ConverterException.cs
 2009-12-17 20:21:37 UTC (rev 6445)
@@ -20,8 +20,10 @@
        /// <summary>
        /// Summary description for ConverterException.
        /// </summary>
+#if (!SILVERLIGHT)
        [Serializable]
-       public class ConverterException : Exception
+#endif
+       public class ConverterException : ApplicationException
        {
                /// <summary>
                /// Initializes a new instance of the <see 
cref="ConverterException"/> class.
@@ -39,7 +41,8 @@
                public ConverterException(string message, Exception 
innerException) : base(message, innerException)
                {
                }
-
+               
+#if (!SILVERLIGHT)
                /// <summary>
                /// Initializes a new instance of the <see 
cref="ConverterException"/> class.
                /// </summary>
@@ -48,5 +51,6 @@
                public ConverterException(SerializationInfo info, 
StreamingContext context) : base(info, context)
                {
                }
+#endif
        }

--

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.


Reply via email to