Exemple #1
0
        public bool IncludeEvent(SingleOriginEvent evt)
        {
            bool res = Execute(evt);

            if (res)
            {
                if (Next != null)
                {
                    return(Next.IncludeEvent(evt));
                }
                else
                {
                    return(true);
                }
            }
            return(false);
        }
Exemple #2
0
 protected abstract bool Execute(SingleOriginEvent evt);
 public EventEntryStoredElement(SingleOriginEvent ee, EventEntryStoredElement next, EventEntryStoredElement previous)
 {
     this.Navigation = new EventEntryNavigator(next, previous);
     Entry           = ee;
 }
Exemple #4
0
 public void AddEvent(SingleOriginEvent evt)
 {
     lastEvent = evt;
 }