C# Class BuildingCoder.CmdPurgeTextNoteTypes

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
GetUnusedTextNoteTypes ( Document doc ) : ICollection

Return all unused text note types by collecting all existing types in the document and removing the ones that are used afterwards.

GetUnusedTextNoteTypesExcluding ( Document doc ) : ICollection

Return all unused text note types by first determining all text note types in use and then collecting all the others using an exclusion filter.

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