/// <summary> /// Insert some layers to the top of destination layerage. /// </summary> /// <param name="layerageCollection"> The layerage-collection. </param> /// <param name="destination"> The destination layerage. </param> /// <param name="sources"> The source layers. </param> /// <param name="isBottomInsert"> Insert to the top or bottom. </param> public static void InsertRange(LayerageCollection layerageCollection, Layerage destination, IEnumerable <Layerage> sources, bool isBottomInsert) => LayerageCollection._insert(layerageCollection, destination, null, sources, isBottomInsert);
/// <summary> /// Insert a layerage to the top of destination layerage. /// </summary> /// <param name="layerageCollection"> The layerage-collection. </param> /// <param name="destination"> The destination layerage. </param> /// <param name="source"> The source layerage. </param> /// <param name="isBottomInsert"> Insert to the top or bottom. </param> public static void Insert(LayerageCollection layerageCollection, Layerage destination, Layerage source, bool isBottomInsert) => LayerageCollection._insert(layerageCollection, destination, source, null, isBottomInsert);