public Entry(ICollection<Field> fields) { if (fields == null) throw new ArgumentNullException("fields"); Icon = new IconData(); _original = fields; _fields = fields.ToDictionary( x => x.Name, x => x.Clone()); _protects = new EntryProtects(_fields); }
public Entry(ICollection <Field> fields) { if (fields == null) { throw new ArgumentNullException("fields"); } Icon = new IconData(); _original = fields; _fields = fields.ToDictionary( x => x.Name, x => x.Clone()); _protects = new EntryProtects(_fields); }