C# Class BuildingCoder.CmdRemoveImportedJpgs

Inheritance: IExternalCommand
Afficher le fichier Open project: jeremytammik/the_building_coder_samples

Méthodes publiques

Méthode Description
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

Private Methods

Méthode Description
ElementNameEndsWithJpg ( Element e ) : bool

Return true if the given element name ends in ".jpg".

ElementNameMayIndicateImageFileReference ( Element e ) : bool

Return true if the given element name seems to indicate an image file refrerence, i.e. ends in ".jpg", ".jpeg", or ".bmp". This is of course still no guarantee, a user may create elements named like this just to shoot herself in her foot, so beware!

Method Details

Execute() public méthode

public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
Résultat System.Result