示例#1
0
        private string Categorize(DiscoveredDiagram diagram, string dir)
        {
            if (_options.ParsedCategorized == NPlantCategorizations.ByNamespace)
            {
                var ns = diagram.Namespace;

                if (!string.IsNullOrEmpty(ns))
                {
                    dir = Path.Combine(dir, ns);
                }
            }

            return(dir);
        }
示例#2
0
        private string Categorize(DiscoveredDiagram diagram, string dir)
        {
            if (_options.ParsedCategorized == NPlantCategorizations.ByNamespace)
            {
                var ns = diagram.Namespace;

                if (! string.IsNullOrEmpty(ns))
                {
                    dir = Path.Combine(dir, ns);
                }
            }

            return dir;
        }