src/Misc/EFTools/XmlCore/Core/Context/EditingContext.cs
/// <summary>
///     This helper function returns the childLayer for the layer that is passed in.
///     This function is used in the OnLayerRemoved to link the layers when
///     a layer (in the middle) is removed.
/// </summary>
/// <param name="layer"></param>
/// <returns></returns>
This helper function returns the childLayer for the layer that is passed in.
This function is used in the OnLayerRemoved to link the layers when
a layer (in the middle) is removed.
This helper function returns the childLayer for the layer that is passed in . This function is used in the OnLayerRemoved to link the layers when a layer ( in the middle ) is removed .
private DefaultContextLayer FindChildLayer(DefaultContextLayer layer)
            {
                var startLayer = _currentLayer;
                while (startLayer != null
                       && startLayer.ParentLayer != layer)
                {
                    startLayer = startLayer.ParentLayer;
                }
                return startLayer;
            }
private DefaultContextLayer FindChildLayer ( DefaultContextLayer layer ) { var startLayer = _currentLayer ; while ( startLayer != null && startLayer . ParentLayer != layer ) { startLayer = startLayer . ParentLayer ; } return startLayer ; }
This helper function returns the childLayer for the layer that is passed in.
This helper function returns the childLayer for the layer that is passed in .
None
layer
DefaultContextLayer
None