Пример #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;
        }