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);
		}
Esempio n. 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);
        }