public SalEntry FindEntry(SalEntryType type) { foreach (SalEntry entry in List) { if (entry.Type == type) { return(entry); } } return(null); }
public SalEntry(NativeSalEntry other) { this.Type = other.SalEntryType; this.Text = other.Text.Trim(' '); }
public SalEntry(SalEntryType type) { this.Type = type; this.Text = string.Empty; }