-
-
Save jonpryor/97a0f6b59c59ac6b6001 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Catel.Core/Catel.Core.NET40/IoC/TypeFactory.cs b/src/Catel.Core/Catel.Core.NET40/IoC/TypeFactory.cs | |
index 3aa8571..df1f46f 100644 | |
--- a/src/Catel.Core/Catel.Core.NET40/IoC/TypeFactory.cs | |
+++ b/src/Catel.Core/Catel.Core.NET40/IoC/TypeFactory.cs | |
@@ -625,6 +625,12 @@ namespace Catel.IoC | |
var finalParametersArray = finalParameters.ToArray(); | |
Log.Debug("Calling constructor.Invoke with the right parameters"); | |
+ Log.Debug("constructor.DeclaringType={0}; constructor.Parameters={1}", | |
+ constructor.DeclaringType.FullName, | |
+ string.Join (", ", constructor.GetParameters().Select(p => p.ParameterType))); | |
+ Log.Debug("constructor arguments {0} {1}", | |
+ finalParametersArray.Length, | |
+ string.Join (", ", finalParametersArray.Select(a => a.ToString()))); | |
var instance = constructor.Invoke(finalParametersArray); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment