Exemplo n.º 1
0
		public override void Refresh (object sender, EventArgs e)
		{
			this.Children.Clear ();
			var serverDto = GetServerDTO ();
			var userAndgroupNode = new UsersAndGroupsNode (serverDto, _tenantName, _provider, false){ Parent = this };
			this.Children.Add (userAndgroupNode);
			NSNotificationCenter.DefaultCenter.PostNotificationName ("ReloadOutlineView", this);
		}
Exemplo n.º 2
0
		public override void Refresh (object sender, EventArgs e)
		{
			ActionHelper.Execute (delegate() {
				Children.Clear ();
				var serverDto = GetServerDto ();
				var node = new UsersAndGroupsNode (serverDto, _tenantName, _provider, _systemDomain){ Parent = this };
				Children.Add (node);
				NSNotificationCenter.DefaultCenter.PostNotificationName ("ReloadOutlineView", this);
			});
		}
Exemplo n.º 3
0
        public override void Refresh(object sender, EventArgs e)
        {
            this.Children.Clear();
            var serverDto        = GetServerDTO();
            var userAndgroupNode = new UsersAndGroupsNode(serverDto, _tenantName, _provider, false)
            {
                Parent = this
            };

            this.Children.Add(userAndgroupNode);
            NSNotificationCenter.DefaultCenter.PostNotificationName("ReloadOutlineView", this);
        }
Exemplo n.º 4
0
 public override void Refresh(object sender, EventArgs e)
 {
     ActionHelper.Execute(delegate() {
         Children.Clear();
         var serverDto = GetServerDto();
         var node      = new UsersAndGroupsNode(serverDto, _tenantName, _provider, _systemDomain)
         {
             Parent = this
         };
         Children.Add(node);
         NSNotificationCenter.DefaultCenter.PostNotificationName("ReloadOutlineView", this);
     });
 }