public string Generate(PathContainer path)
        {
            StringBuilder sb = new StringBuilder ();

            foreach (Interface inter in path.Interfaces) {
                sb.AppendLine (Generate (inter));
            }

            return sb.ToString ();
        }
Exemplo n.º 2
0
        public string Generate(PathContainer path)
        {
            StringBuilder sb = new StringBuilder();

            foreach (Interface inter in path.Interfaces)
            {
                sb.AppendLine(Generate(inter));
            }

            return(sb.ToString());
        }
Exemplo n.º 3
0
        public void AddPath(PathContainer path)
        {
            if (path == null)
            {
                return;
            }

            TreeIter parent = model.AppendValues(path.Path, empty, path);

            foreach (Interface @interface in path.Interfaces)
            {
                AddInterface(parent, @interface);
            }
        }