public void PopulateChildren (List<IdentityProviderDto> providers)
		{
			if (providers != null) {
				foreach (var provider in providers) {
					var node = new ExternalDomainNode (_tenantName, provider){ Parent = this };
					node.Refresh (this, EventArgs.Empty);
					Children.Add (node);
				}
				NSNotificationCenter.DefaultCenter.PostNotificationName ("ReloadOutlineView", this.Parent);
			}
		}
Esempio n. 2
0
 public void PopulateChildren(List <IdentityProviderDto> providers)
 {
     if (providers != null)
     {
         foreach (var provider in providers)
         {
             var node = new ExternalDomainNode(_tenantName, provider)
             {
                 Parent = this
             };
             node.Refresh(this, EventArgs.Empty);
             Children.Add(node);
         }
         NSNotificationCenter.DefaultCenter.PostNotificationName("ReloadOutlineView", this.Parent);
     }
 }