Skip to content

Commit

Permalink
Fixed stupid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
grumpydev committed Aug 26, 2011
1 parent f47bcee commit e25684e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions TinyIoC.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
2 changes: 1 addition & 1 deletion src/TinyIoC/TinyIoC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e25684e

Please sign in to comment.