SIL.FieldWorks.SharpViews.Hookups.GroupHookup.ChildContaining C# (CSharp) Method

ChildContaining() private method

Return the one of your direct children which is or is a parent of the given child hookup (or null if no such exists).
private ChildContaining ( Hookup child ) : Hookup
child Hookup
return Hookup
		internal Hookup ChildContaining(Hookup child)
		{
			if (child.ParentHookup == this)
				return child;
			return (from hookup in child.Parents where hookup.ParentHookup == this select hookup).FirstOrDefault();
		}

Same methods

GroupHookup::ChildContaining ( InsertionPoint ip ) : Hookup