예제 #1
0
 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);
     }
 }
예제 #2
0
 public HostEntry[] GetHosts()
 {
     return(DaoRepository.RetrieveAll <HostEntry>().ToArray());
 }