Example #1
0
 public void CreateHerdFromXml()
 {
     foreach (Animals anim in HerdBO.GetXmlEntries())
     {
         this.Herd.Add(new SheepBO(anim));
     }
 }
Example #2
0
 public StockBO(Herds herd, int forDay)
 {
     this.Herd = new HerdBO(herd);
     this.ProcessStock(forDay);
 }
Example #3
0
 public StockBO(int day)
 {
     this.Herd = new HerdBO();
     this.ProcessStock(day);
 }
Example #4
0
 public StockBO(Herds herd)
 {
     this.Herd = new HerdBO(herd);
 }
Example #5
0
 public StockBO(Herds herd, int forDay)
 {
     this.Herd = new HerdBO(herd);
     this.ProcessStock(forDay);
 }
Example #6
0
 public StockBO(int day)
 {
     this.Herd = new HerdBO();
     this.ProcessStock(day);
 }
Example #7
0
 public StockBO(Herds herd)
 {
     this.Herd = new HerdBO(herd);
 }
Example #8
0
 static void TestHerdBO()
 {
     HerdBO Herd = new HerdBO();
     foreach (SheepBO s in Herd.Herd)
         Console.WriteLine(s.Name);
     Console.WriteLine();
     Main();
 }