public IList <IFreeDocument> Get(string name) { if (DataCollections.Count == 0) { return(new List <IFreeDocument>()); } if (string.IsNullOrWhiteSpace(name)) { return(DataCollections.First().ComputeData.ToList()); } DataCollection p = DataCollections.FirstOrDefault(rc => rc.Name == name); return(p?.ComputeData); }