using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml; using umbraco.BusinessLogic; using umbraco.BusinessLogic.Actions; using umbraco.cms.businesslogic.property; using umbraco.cms.businesslogic.relation; using umbraco.cms.helpers; using umbraco.DataLayer; using umbraco.IO; namespace umbraco.cms.businesslogic.web { /// /// A lightweight datastructure used to represent a version of a document /// public class DocumentVersionList { private Guid _version; private DateTime _date; private string _text; private User _user; /// /// The unique id of the version /// public Guid Version { get { return _version; } } /// /// The date of the creation of the version /// public DateTime Date { get { return _date; } } /// /// The name of the document in the version /// public string Text { get { return _text; } } /// /// The user which created the version /// public User User { get { return _user; } } /// /// Initializes a new instance of the DocumentVersionList class. /// /// Unique version id /// Version createdate /// Version name /// Creator public DocumentVersionList(Guid Version, DateTime Date, string Text, User User) { _version = Version; _date = Date; _text = Text; _user = User; } } }