public IDictionary<string, object> Execute(IDictionary<string, object> root = null)
        {
            if (root == null)
            {
                root = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
            }

            var events = new EventsQuery().Execute();

            var result = new ModelBuilder().ApplyEvents(root, events);

            return result;
        }
示例#2
0
        public IDictionary <string, object> Execute(IDictionary <string, object> root = null)
        {
            if (root == null)
            {
                root = new Dictionary <string, object>(StringComparer.OrdinalIgnoreCase);
            }

            var events = new EventsQuery().Execute();

            var result = new ModelBuilder().ApplyEvents(root, events);

            return(result);
        }