mirror of https://github.com/AMT-Cheif/Stylet.git
Fix typo in BuilderBindingBase
This commit is contained in:
parent
29b41c59ce
commit
d265bb3ba2
|
@ -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()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue