Exemplo n.º 1
0
        private void Visit(Action <INotifyPropertyChanged> property, Action <INotifyCollectionChanged> collection,
                           Action <JSCommand> command)
        {
            var visitor = new ListenableVisitor(property, collection, command);

            _Visitable.Visit(visitor);
        }
Exemplo n.º 2
0
        public IQueryable <IPublishedContent> Execute(IVisitable queryNode)
        {
            queryNode.Visit(this);

            if (limit != null)
            {
                current = current.Take(limit.Value);
            }

            return(current);
        }
Exemplo n.º 3
0
 // TODO: Baseclass this
 void IQueryVisitor.Visit(IVisitable node)
 {
     node.Visit(this);
 }
Exemplo n.º 4
0
 public Lucene.Net.Search.Query Execute(IVisitable node)
 {
     query = new Lucene.Net.Search.BooleanQuery();
     node.Visit(this);
     return(query);
 }