C# Class JournalAnalyzer.KeyboardShortcutAnalyzer

Analyzes a journal fine to get the most popular keyboard shortcuts and commands Author: Rod Howarth http://www.rodhowarth.com
显示文件 Open project: RodH257/RevitJournalAnalyzer Class Usage Examples

Public Methods

Method Description
GetTopEntries ( int entryLimit, IEnumerable commandNameSearches ) : IEnumerable

Parses the documents and looks for the top entryLimit amount of lines with Jrn.Command "commandName"

GetTopRibbonCommandsUsed ( bool includeContextMenu ) : IEnumerable
GetTopShortcutsUsed ( ) : IEnumerable
KeyboardShortcutAnalyzer ( string shortcutDir, string keyboardShortcutsFile ) : System

Private Methods

Method Description
ReplaceIdWithShortcut ( string lineToModify ) : string

Method Details

GetTopEntries() public method

Parses the documents and looks for the top entryLimit amount of lines with Jrn.Command "commandName"
public GetTopEntries ( int entryLimit, IEnumerable commandNameSearches ) : IEnumerable
entryLimit int
commandNameSearches IEnumerable
return IEnumerable

GetTopRibbonCommandsUsed() public method

public GetTopRibbonCommandsUsed ( bool includeContextMenu ) : IEnumerable
includeContextMenu bool
return IEnumerable

GetTopShortcutsUsed() public method

public GetTopShortcutsUsed ( ) : IEnumerable
return IEnumerable

KeyboardShortcutAnalyzer() public method

public KeyboardShortcutAnalyzer ( string shortcutDir, string keyboardShortcutsFile ) : System
shortcutDir string
keyboardShortcutsFile string
return System