Example #1
0
        public void AddContinuousEvent(Action <ContinuousEvent> info)
        {
            ContinuousEvent newEvent = new ContinuousEvent();

            info.Invoke(newEvent);
            newEvent.eventSystem = this;
            Events.ContinuousEvents.Add(newEvent.Name.ToLower(), newEvent);
        }
Example #2
0
        public void AddContinuousEvent(Action <ContinuousEvent> info)
        {
            ContinuousEvent newEvent = new ContinuousEvent();

            info.Invoke(newEvent);
            newEvent.eventSystem = this;
            events.ContinuousEvents.Add(newEvent.Name.ToLower(), newEvent);

            Sql.TryCreateTable("event(name VARCHAR(255), id BIGINT, enabled BOOLEAN)");
        }