public IList<Field> GetAllFields()
{
return _fields.Values.ToList();
}
/// <summary> /// Updates the details of the specified entry. /// </summary> /// <param name="entry">The entry.</param> public void Details(Entry entry) { if (entry == null) throw new ArgumentNullException("entry"); var element = _entries[entry.ID]; element .Element("History") .Add(Clone(element)); SetFields(element, entry.GetAllFields()); var time = DateTime.Now; entry.LastModified = time; element .Element("Times") .Element("LastModificationTime") .Value = GetTime(time); }