C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

DumpEventListToJournalData() публичный Метод

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
Результат void

DumpEventsListToFile() публичный Метод

Dump the selected event list to xml file. This method is used in ExternalApplication.
public DumpEventsListToFile ( List eventList ) : void
eventList List
Результат void

GetEventsListFromJournalData() публичный Метод

Get event list from commandData.Data. This method is used in ExternalCommmand.
public GetEventsListFromJournalData ( StringStringMap data ) : List
data StringStringMap
Результат List

JournalProcessor() публичный Метод

Constructor without argument.
public JournalProcessor ( ) : System
Результат System