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.
ファイルを表示 Open project: AMEE/revit Class Usage Examples

Public Methods

Method 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

Method 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 method

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
return void

DumpEventsListToFile() public method

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

GetEventsListFromJournalData() public method

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

JournalProcessor() public method

Constructor without argument.
public JournalProcessor ( ) : System
return System