Ejemplo n.º 1
0
        public AnalyzeIssueNode AddChild(string name, object tag)
        {
            AnalyzeIssueNode node = new AnalyzeIssueNode(Application, IssueObjectType, IssueObjectId);

            node.Name = name;
            node.Tag  = tag;

            node.Parent = this;
            Children.Add(node);

            return(node);
        }
Ejemplo n.º 2
0
        private string GetTitle()
        {
            AnalyzeIssueNode current = ParentNode;
            string           title   = string.Empty;

            while (current != null && current.Application != null)
            {
                if (!string.IsNullOrEmpty(current.Name))
                {
                    if (string.IsNullOrEmpty(title))
                    {
                        title = current.Name;
                    }
                    else
                    {
                        title = string.Format("{0} / {1}", current.Name, title);
                    }
                }

                current = current.Parent;
            }

            return(title);
        }
Ejemplo n.º 3
0
        public AnalyzeIssueList(AnalyzeIssueNode parentNode)
        {
            ParentNode = parentNode;

            analyzeService = MetaManagerServices.GetAnalyzeService();
        }