public ComplexStalk(string flag, string timeupd, string timetrig, string mailflag, string descr, string expiryTime, string immediatemail, string enabled)
            : base(flag)
        {
            if (flag == "")
                throw new ArgumentOutOfRangeException();
            this.flag = flag;

            if (!bool.TryParse(mailflag, out _mail))
                _mail = true;

            if (!bool.TryParse(immediatemail, out _immediatemail))
                _immediatemail = false;

            if (!bool.TryParse(enabled, out _enabled))
                _enabled = true;

            _lastUpdateTime = DateTime.Parse(timeupd);

            _lastTriggerTime = DateTime.Parse(timetrig);

            _description = descr;

            this.expiryTime = DateTime.Parse(expiryTime);

            _baseNode = new FalseNode();
        }
 public ComplexStalk(string flag)
     : base(flag)
 {
     _baseNode = new FalseNode();
 }
        public void setSearchTree(StalkNode node, bool isupdate)
        {
            if (isupdate)
                LastUpdateTime = DateTime.Now;

            _baseNode = node;
        }