src/Misc/EFTools/EntityDesign/UI/ViewModels/MappingDetails/MappingEFElement.cs
// <summary>
//     Returns the index of the passed in child in this item's Children collection, returns -1 if it isn't found
// </summary>
Returns the index of the passed in child in this item's Children collection, returns -1 if it isn't found
Returns the index of the passed in child in this item ' s Children collection returns - 1 if it isn ' t found
internal int IndexOfChild(MappingEFElement childToFind)
        {
            if (childToFind != null)
            {
                for (var i = 0; i < Children.Count; i++)
                {
                    if (Children[i] == childToFind)
                    {
                        return i;
                    }
                }
            }
            return -1;
        }
internal int IndexOfChild ( MappingEFElement childToFind ) { if ( childToFind != null ) { for ( var i = 0 ; i < Children . Count ; i ++ ) { if ( Children [ i ] == childToFind ) { return i ; } } } return - 1 ; }
Returns the index of the passed in child in this item's Children collection, returns -1 if it isn't found
Returns the index of the passed in child in this item ' s Children collection returns - 1 if it isn ' t found
childToFind
MappingEFElement