Mono.UIAutomation.Winforms.Navigation.ParentNavigation.AddElementAt C# (CSharp) Method

AddElementAt() public method

public AddElementAt ( int index, INavigation navigation ) : void
index int
navigation INavigation
return void
		public void AddElementAt (int index, INavigation navigation)
		{
			// Lame!  Two O(N) iterations, but I see no other choice.
			chain.AddBefore (chain.Find (chain.ElementAt (index)),
			                 navigation);
		}