Mercurial > pub > ImplabNet
diff Implab.ServiceHost/Unity/InjectionValueBuilder.cs @ 281:e0916ddc9950 v3 tip
code cleanup and refactoring
author | cin |
---|---|
date | Fri, 01 Jun 2018 21:35:24 +0300 |
parents | 8714471e8d78 |
children |
line wrap: on
line diff
--- a/Implab.ServiceHost/Unity/InjectionValueBuilder.cs Fri May 25 19:15:26 2018 +0300 +++ b/Implab.ServiceHost/Unity/InjectionValueBuilder.cs Fri Jun 01 21:35:24 2018 +0300 @@ -98,7 +98,7 @@ if (itemsType == null) throw new Exception("Failed to determine array elements type"); - InjectionParameterValue[] injections = (arrayParameter.Items ?? new InjectionParameterElement[0]) + InjectionParameterValue[] injections = (arrayParameter.Items ?? new AbstractInjectionParameter[0]) .Select(x => { var builder = new InjectionParameterBuilder(m_resolver, itemsType); x.Visit(builder);