コード例 #1
0
 public void AddEntry(string line)
 {
     var entry = new InvoiceEntry();
     if (!entry.PopulateObject(line.Split(',').Select(x=>x.Trim()).ToArray()))
         this.IsSuccess = false;
     this.Entries.Add(entry);
 }
コード例 #2
0
 public void SetUp()
 {
     this.entry = new InvoiceEntry();
     this.correctInput = new[] {"1", "D123", "05-01-2012", "1000"};
 }