C# Class Revit.SDK.Samples.EventsMonitor.CS.JournalProcessor

This class is implemented to make sample autotest. It checks whether the external file exists or not. The sample can control the UI's display by this judgement. It can dump the seleted event list to file or commandData.Data and also can retrieve the list from file and commandData.Data.
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
DumpEventListToJournalData ( List eventList, StringStringMap &data ) : void

Dump the selected event list to commandData.Data. This method is used in ExternalCommand.

DumpEventsListToFile ( List eventList ) : void

Dump the selected event list to xml file. This method is used in ExternalApplication.

GetEventsListFromJournalData ( StringStringMap data ) : List

Get event list from commandData.Data. This method is used in ExternalCommmand.

JournalProcessor ( ) : System

Constructor without argument.

Private Methods

Méthode Description
CheckFileExistence ( ) : bool

Check whether the xml file is exist or not.

GetEventsListFromFile ( ) : void

Get the event list from xml file. This method is used in ExternalApplication.

Method Details

DumpEventListToJournalData() public méthode

Dump the selected event list to commandData.Data. This method is used in ExternalCommand.
public DumpEventListToJournalData ( List eventList, StringStringMap &data ) : void
eventList List
data StringStringMap
Résultat void

DumpEventsListToFile() public méthode

Dump the selected event list to xml file. This method is used in ExternalApplication.
public DumpEventsListToFile ( List eventList ) : void
eventList List
Résultat void

GetEventsListFromJournalData() public méthode

Get event list from commandData.Data. This method is used in ExternalCommmand.
public GetEventsListFromJournalData ( StringStringMap data ) : List
data StringStringMap
Résultat List

JournalProcessor() public méthode

Constructor without argument.
public JournalProcessor ( ) : System
Résultat System