Exemplo n.º 1
0
        public ComponentInstance Visit(PlaceholderInstance placeholder, IEnumerable <int> path)
        {
            if (path.Any())
            {
                throw new KolaException("No component at specified path");
            }

            return(placeholder);
        }
Exemplo n.º 2
0
 public AreaInstance Visit(PlaceholderInstance placeholder, IEnumerable <int> path)
 {
     return(placeholder.Content.Accept(this, path));
 }