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