public void CreateHerdFromXml() { foreach (Animals anim in HerdBO.GetXmlEntries()) { this.Herd.Add(new SheepBO(anim)); } }
public StockBO(Herds herd, int forDay) { this.Herd = new HerdBO(herd); this.ProcessStock(forDay); }
public StockBO(int day) { this.Herd = new HerdBO(); this.ProcessStock(day); }
public StockBO(Herds herd) { this.Herd = new HerdBO(herd); }
static void TestHerdBO() { HerdBO Herd = new HerdBO(); foreach (SheepBO s in Herd.Herd) Console.WriteLine(s.Name); Console.WriteLine(); Main(); }