Пример #1
0
        public JobNode(JobCollectionNode jobs, string name)
        {
            Assert.IsNotNull(jobs);

            _jobs = jobs;
            _name = name;
        }
Пример #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 });
        }