public List <Method> GetListMethods(string DataName) { List <Method> listMethods = new List <Method>(); StringBuilder sb = new StringBuilder(); ListTag list = null; foreach (var x in this.TagList.Where(x => x is ListTag)) { list = x as ListTag; list.SetUpperDataName(DataName, FieldType.read_value); list.set_Inside_Read(); Method m = list.GetIGlobalMethod(); if (m != null) { listMethods.Add(m); } } return(listMethods); }