コード例 #1
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);
			}
		}
コード例 #2
0
ファイル: ExternalDomainsNode.cs プロジェクト: wfu8/lightwave
 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);
     }
 }