HexAdornmentLayerImpl Create(MetadataAndOrder<IAdornmentLayersMetadata> info) { var layer = new HexAdornmentLayerImpl(wpfHexView, layerKind, info); int index = GetInsertIndex(info); adornmentLayers.Insert(index, layer); Children.Insert(index, layer.VisualElement); return layer; }
HexAdornmentLayerImpl Create(MetadataAndOrder <IAdornmentLayersMetadata> info) { var layer = new HexAdornmentLayerImpl(wpfHexView, layerKind, info); int index = GetInsertIndex(info); adornmentLayers.Insert(index, layer); Children.Insert(index, layer.VisualElement); return(layer); }