3 using System.Collections.Generic;
5 using Tizen.NUI.EXaml.Build.Tasks;
7 namespace Tizen.NUI.EXaml
9 internal class EXamlCreateArrayObject : EXamlCreateObject
11 public EXamlCreateArrayObject(EXamlContext context, TypeReference type, List<object> items) : base(context, null, type)
16 internal override string Write()
23 string itemsString = "";
28 foreach (var item in items)
30 itemsString += $"{eXamlContext.GetValueString(item)} ";
36 string ret = String.Format("({0} ({1} {2}))\n",
37 eXamlContext.GetValueString((int)EXamlOperationType.CreateArrayObject),
38 eXamlContext.GetValueString(eXamlContext.GetTypeIndex(Type)),
44 private List<object> items;