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

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