예제 #1
0
		public override void Refresh (object sender, EventArgs e)
		{
			var node = new UsersNode (_serverDto, _tenantName, _domainName, _systemDomain){ Parent = this };
			Children.Add (node);
			if (_systemDomain) {
				var solnNode = new SolutionUsersNode (_serverDto, _tenantName, _domainName, _systemDomain){ Parent = this };
				Children.Add (solnNode);
			}
			var groupNode = new GroupsNode (_serverDto, _tenantName, _domainName, _systemDomain){ Parent = this };
			Children.Add (groupNode);
			NSNotificationCenter.DefaultCenter.PostNotificationName ("ReloadOutlineView", this);
		}
예제 #2
0
        public override void Refresh(object sender, EventArgs e)
        {
            var node = new UsersNode(_serverDto, _tenantName, _domainName, _systemDomain)
            {
                Parent = this
            };

            Children.Add(node);
            if (_systemDomain)
            {
                var solnNode = new SolutionUsersNode(_serverDto, _tenantName, _domainName, _systemDomain)
                {
                    Parent = this
                };
                Children.Add(solnNode);
            }
            var groupNode = new GroupsNode(_serverDto, _tenantName, _domainName, _systemDomain)
            {
                Parent = this
            };

            Children.Add(groupNode);
            NSNotificationCenter.DefaultCenter.PostNotificationName("ReloadOutlineView", this);
        }