Permalink
Browse files

Fixed stupid bug

  • Loading branch information...
1 parent f47bcee commit e25684ec831cd54c49e585509b4debbb2345cc73 @grumpydev committed Aug 26, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 TinyIoC.nuspec
  2. +1 −1 src/TinyIoC/TinyIoC.cs
View
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>TinyIoC</id>
- <version>1.0</version>
+ <version>1.1.1</version>
<authors>Steven Robbins</authors>
<owners>Andy Sherwood,Steven Robbins</owners>
<licenseUrl>https://github.com/grumpydev/TinyIoC/blob/master/src/licence.txt</licenseUrl>
@@ -11,4 +11,4 @@
<description>An easy to use, hassle free, Inversion of Control Container for small projects, libraries and beginners alike</description>
<tags>IoC</tags>
</metadata>
-</package>
+</package>
@@ -2698,7 +2698,7 @@ private bool IsIgnoredType(Type type, Func<Type, bool> registrationPredicate)
if (registrationPredicate != null)
{
- ignoreChecks.Add(registrationPredicate);
+ ignoreChecks.Add(t => !registrationPredicate(t));
}
foreach (var check in ignoreChecks)

0 comments on commit e25684e

Please sign in to comment.