Ejemplo n.º 1
0
 public TimeLimit()
 {
     ElementName = "timeLimit";
     Properties = new Dictionary<string, object>();
     CalendarSet = new CalendarSet();
     TimeLimitInfo = new TimeLimitInfo();
     RemindInfo = new RemindInfo();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="xml">字符串参数</param>
 /// <param name="isXmlFile">是否是xml文件</param>
 public TimeLimit(ConfigureElement parent, XElement xElem)
     : base(parent, "timeLimit", xElem)
 {
     if (xElem != null)
     {
         CalendarSet = new CalendarSet(this, xElem.Element("calendar"));
         TimeLimitInfo = new TimeLimitInfo(this, xElem.Element("timeLimitInfo"));
         RemindInfo = new RemindInfo(this, xElem.Element("remindInfo"));
     }
 }