Exemplo n.º 1
0
 public DrugBatch(Drug drug)
 {
     Drug = drug;
 }
 // Easy initializer
 public LogEntry(Drug drug, int previousCount, int newCount)
 {
     Drug          = drug;
     PreviousCount = previousCount;
     NewCount      = newCount;
 }
Exemplo n.º 3
0
 // This was required in order to have the ViewModels not throw null exceptions at design time. Never used.
 public DrugBatch()
 {
     Drug = new Drug();
 }