File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Download KY.Generator to use this module</Description>
1414 <PackageIconUrl >https://ky-programming.de/images/logos/128.png</PackageIconUrl >
1515 <RepositoryUrl >https://github.com/KY-Programming/generator</RepositoryUrl >
1616 <PackageTags >KY-Generator KY Generator Angular</PackageTags >
17+ <LangVersion >latest</LangVersion >
1718 </PropertyGroup >
1819
1920 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public bool Parse(IEnumerable<RawCommandParameter> parameters)
5757 }
5858 PropertyInfo property = mapping [ parameterName ] ;
5959 bool isList = property . PropertyType . Name . StartsWith ( "List`" ) ;
60- if ( isList )
60+ if ( isList && this . OriginalParameters . Count ( p => p . Name == parameter . Name ) > 1 )
6161 {
6262 IList list = property . GetMethod . Invoke ( this . Parameters , null ) as IList ;
6363 if ( list == null )
You can’t perform that action at this time.
0 commit comments