Fix typo in BuilderBindingBase

This commit is contained in:
Antony Male 2015-09-25 13:47:36 +01:00
parent 29b41c59ce
commit d265bb3ba2
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ namespace StyletIoC.Internal.Builders
throw new StyletIoCRegistrationException(String.Format("You cannot bind the non-generic type {0} to the unbound generic service {1}", implementationType.GetDescription(), serviceType.GetDescription()));
}
if (!implementationType.Implements(this.ServiceType))
if (!implementationType.Implements(serviceType))
throw new StyletIoCRegistrationException(String.Format("Type {0} does not implement service {1}", implementationType.GetDescription(), serviceType.GetDescription()));
}