public override IEnumerable <object> RetrieveAll(Type type) { foreach (object o in DaoRepository.RetrieveAll(type)) { yield return(o); } foreach (object o in YamlDataDirectory.Load(type)) { yield return(o); } }
public HostEntry[] GetHosts() { return(DaoRepository.RetrieveAll <HostEntry>().ToArray()); }