using System.Collections.Generic; namespace DevComponents.Schedule.Model.Serialization { public class CalendarEntry { #region Private variables private string _Id = ""; private string _Value = ""; private List _Attributes; private int _LineStart; private int _LineEnd; #endregion /// /// Constructor /// /// Text line start /// Text line end public CalendarEntry(int lineStart, int lineEnd) { _LineStart = lineStart; _LineEnd = lineEnd; _Attributes = new List(); } #region Public properties #region Attributes /// /// Attributes /// public List Attributes { get { return (_Attributes); } set { _Attributes = value; } } #endregion #region Id /// /// Id /// public string Id { get { return (_Id); } set { _Id = value; } } #endregion #region LineEnd /// /// LineEnd /// public int LineEnd { get { return (_LineEnd); } set { _LineEnd = value; } } #endregion #region LineStart /// /// LineStart /// public int LineStart { get { return (_LineStart); } set { _LineStart = value; } } #endregion #region Value /// /// Value /// public string Value { get { return (_Value); } set { _Value = value; } } #endregion #endregion } #region AttributeData public class AttributeData { #region Private variables private string _Id; private string _Value; #endregion /// /// Constructor /// /// Id /// Value public AttributeData(string id, string value) { _Id = id; _Value = value; } #region Public properties #region Id /// /// Gets or sets the attribute Id /// public string Id { get { return (_Id); } set { _Id = value; } } #endregion #region Value /// /// Gets or sets the attribute value /// public string Value { get { return (_Value); } set { _Value = value; } } #endregion #endregion } #endregion }