public IEnumerable<RepositoryObject> DeserializeContent(List<string> content) { List<RepositoryObject> result = new List<RepositoryObject>(); content.ForEach((p) => { string[] split = p.Split('\t'); var obj = new RepositoryObject(); obj.guid = Guid.Parse(split[0]); obj.ItemName = split[1]; obj.ItemType = Convert.ToInt32(split[2]); result.Add(obj); }); return result; }
public IEnumerable <RepositoryObject> DeserializeContent(List <string> content) { List <RepositoryObject> result = new List <RepositoryObject>(); content.ForEach((p) => { string[] split = p.Split('\t'); var obj = new RepositoryObject(); obj.guid = Guid.Parse(split[0]); obj.ItemName = split[1]; obj.ItemType = Convert.ToInt32(split[2]); result.Add(obj); }); return(result); }