Ejemplo n.º 1
0
        public JobNode(JobCollectionNode jobs, string name)
        {
            Assert.IsNotNull(jobs);

            _jobs = jobs;
            _name = name;
        }
Ejemplo n.º 2
0
        IEnumerable <ITreeNode> ITreeNode.GetChildren(bool refresh)
        {
            var node         = new DatabaseCollectionNode(this);
            var securityNode = new SecurityNode(this);
            var serverObjectCollectionNode = new ServerObjectCollectionNode(this);
            var jobCollectionNode          = new JobCollectionNode(this);

            return(new ITreeNode[] { node, securityNode, serverObjectCollectionNode, jobCollectionNode });
        }