File tree Expand file tree Collapse file tree
TreeViewGenerator/template Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -345,18 +345,18 @@ public virtual string TransformText()
345345 this . Write ( ">();\n \n " ) ;
346346
347347 #line 65 "/home/ita/C#/App_GitHub/TreeViewGenerator/TreeViewGenerator/template/TreeViewTemplateEx.tt"
348- this . Write ( this . ToStringHelper . ToStringWithCulture ( ListStoreName ) ) ;
348+ this . Write ( this . ToStringHelper . ToStringWithCulture ( TreeViewName ) ) ;
349349
350350 #line default
351351 #line hidden
352- this . Write ( ".Clear() ;\n " ) ;
352+ this . Write ( ".Model = null ;\n " ) ;
353353
354354 #line 66 "/home/ita/C#/App_GitHub/TreeViewGenerator/TreeViewGenerator/template/TreeViewTemplateEx.tt"
355- this . Write ( this . ToStringHelper . ToStringWithCulture ( TreeViewName ) ) ;
355+ this . Write ( this . ToStringHelper . ToStringWithCulture ( ListStoreName ) ) ;
356356
357357 #line default
358358 #line hidden
359- this . Write ( ".Model = null ;\n \n foreach (" ) ;
359+ this . Write ( ".Clear() ;\n \n foreach (" ) ;
360360
361361 #line 68 "/home/ita/C#/App_GitHub/TreeViewGenerator/TreeViewGenerator/template/TreeViewTemplateEx.tt"
362362 this . Write ( this . ToStringHelper . ToStringWithCulture ( ModelName ) ) ;
Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ foreach (columnModel columnModel1 in columnModelArray)
6262
6363 List<<#=ModelName#>> <#=ModelName#>Array = new List<<#=ModelName#>>();
6464
65- <#=ListStoreName#>.Clear();
6665 <#=TreeViewName#>.Model = null;
66+ <#=ListStoreName#>.Clear();
6767
6868 foreach (<#=ModelName#> <#=ModelName#>1 in <#=ModelName#>Array) {
6969 <#=ListStoreName#>.AppendValues (<#=ModelName#>1);
You can’t perform that action at this time.
0 commit comments