//=========================================================================================== private void ReplaceWithSettings(XElement annotation, string typeName) { AddSettingsElements(annotation.Parent, _GraphicsMagickNET.GetProperties(typeName), _GraphicsMagickNET.GetMethods(typeName)); AddSettingsAttributes(annotation.Parent, _GraphicsMagickNET.GetProperties(typeName)); annotation.Remove(); }