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); }
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); }