Ejemplo n.º 1
0
        public Layout GetLayout()
        {
            var lay = new Layout();

            if (Model == 1)
            {
                lay.Hosts = GetHosts();
            }
            else if (Model == 2)
            {
                lay.Node = spanel.GetNode();
            }
            return(lay);
        }