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

GetNextExplicitSiblingProvider() public method

public GetNextExplicitSiblingProvider ( INavigation navigation ) : IRawElementProviderFragment
navigation INavigation
return IRawElementProviderFragment
		public IRawElementProviderFragment GetNextExplicitSiblingProvider (INavigation navigation)
		{
			if (chain.Contains (navigation) == true) {
				LinkedListNode<INavigation> nextNode = chain.Find (navigation).Next;
				if (nextNode == null)
					return null;
				else
					return nextNode.Value.Provider;
			} else
				return null;
		}