Example #1
0
        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);
        }
Example #2
0
        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);
        }