C# Class YALV.ViewModel.MainWindowVM

Inheritance: YALV.Core.Domain.BindableObject
ファイルを表示 Open project: LukePet/YALV Class Usage Examples

Public Properties

Property Type Description
PROP_AutoRefreshInterval string
PROP_AutoRefreshIntervalLocalized string
PROP_FileList string
PROP_FolderList string
PROP_GoToLogItemId string
PROP_IsAutoRefreshEnabled string
PROP_IsFileSelectionEnabled string
PROP_IsLoading string
PROP_Items string
PROP_ItemsDebugCount string
PROP_ItemsDebugFilterCount string
PROP_ItemsErrorCount string
PROP_ItemsErrorFilterCount string
PROP_ItemsFatalCount string
PROP_ItemsFatalFilterCount string
PROP_ItemsFilterCount string
PROP_ItemsInfoCount string
PROP_ItemsInfoFilterCount string
PROP_ItemsWarnCount string
PROP_ItemsWarnFilterCount string
PROP_RecentFileList string
PROP_SelectAll string
PROP_SelectDebug string
PROP_SelectError string
PROP_SelectFatal string
PROP_SelectInfo string
PROP_SelectWarn string
PROP_SelectedFile string
PROP_SelectedFileDir string
PROP_SelectedFolder string
PROP_SelectedLogItem string
PROP_ShowLevelDebug string
PROP_ShowLevelError string
PROP_ShowLevelFatal string
PROP_ShowLevelInfo string
PROP_ShowLevelWarn string
PROP_WindowTitle string

Public Methods

Method Description
InitDataGrid ( ) : void
LoadFileList ( string pathList, bool add = false ) : void
MainWindowVM ( IWinSimple win ) : System
RefreshView ( ) : void

Protected Methods

Method Description
OnDispose ( ) : void
commandAboutExecute ( object parameter ) : object
commandClearCanExecute ( object parameter ) : bool
commandClearExecute ( object parameter ) : object
commandDecreaseIntervalExecute ( object parameter ) : object
commandDeleteCanExecute ( object parameter ) : bool
commandDeleteExecute ( object parameter ) : object
commandExitExecute ( object parameter ) : object
commandIncreaseIntervalExecute ( object parameter ) : object
commandOpenFileCanExecute ( object parameter ) : bool
commandOpenFileExecute ( object parameter ) : object
commandOpenSelectedFolderCanExecute ( object parameter ) : bool
commandOpenSelectedFolderExecute ( object parameter ) : object
commandRefreshCanExecute ( object parameter ) : bool
commandRefreshExecute ( object parameter ) : object
commandRefreshFilesCanExecute ( object parameter ) : bool
commandRefreshFilesExecute ( object parameter ) : object
commandSaveFolderCanExecute ( object parameter ) : bool
commandSaveFolderExecute ( object parameter ) : object
commandSelectAllFilesCanExecute ( object parameter ) : bool
commandSelectAllFilesExecute ( object parameter ) : object
commandSelectFolderCanExecute ( object parameter ) : bool
commandSelectFolderExecute ( object parameter ) : object

Private Methods

Method Description
bkLoaderCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
bkLoaderRun ( object sender, DoWorkEventArgs e ) : void
deleteFile ( string path ) : bool
dispatcherTimer_Tick ( object sender, EventArgs e ) : void
levelCheckFilter ( object item ) : bool
loadFolderFiles ( string folderPath ) : void
loadFolderList ( ) : void
loadLogFile ( string path, bool merge = false ) : void
raiseRefreshUI ( string eventName, object parameter = null ) : void
refreshCheckBoxBinding ( ) : void
refreshCommandsCanExecute ( ) : void
refreshWindowTitle ( ) : void
removeItems ( string path ) : void
resetLevelSelection ( ) : void
updateCounters ( ) : void
updateFilteredCounters ( ICollectionView filteredList ) : void
updateJumpList ( ) : void

Method Details

InitDataGrid() public method

public InitDataGrid ( ) : void
return void

LoadFileList() public method

public LoadFileList ( string pathList, bool add = false ) : void
pathList string
add bool
return void

MainWindowVM() public method

public MainWindowVM ( IWinSimple win ) : System
win IWinSimple
return System

OnDispose() protected method

protected OnDispose ( ) : void
return void

RefreshView() public method

public RefreshView ( ) : void
return void

commandAboutExecute() protected method

protected commandAboutExecute ( object parameter ) : object
parameter object
return object

commandClearCanExecute() protected method

protected commandClearCanExecute ( object parameter ) : bool
parameter object
return bool

commandClearExecute() protected method

protected commandClearExecute ( object parameter ) : object
parameter object
return object

commandDecreaseIntervalExecute() protected method

protected commandDecreaseIntervalExecute ( object parameter ) : object
parameter object
return object

commandDeleteCanExecute() protected method

protected commandDeleteCanExecute ( object parameter ) : bool
parameter object
return bool

commandDeleteExecute() protected method

protected commandDeleteExecute ( object parameter ) : object
parameter object
return object

commandExitExecute() protected method

protected commandExitExecute ( object parameter ) : object
parameter object
return object

commandIncreaseIntervalExecute() protected method

protected commandIncreaseIntervalExecute ( object parameter ) : object
parameter object
return object

commandOpenFileCanExecute() protected method

protected commandOpenFileCanExecute ( object parameter ) : bool
parameter object
return bool

commandOpenFileExecute() protected method

protected commandOpenFileExecute ( object parameter ) : object
parameter object
return object

commandOpenSelectedFolderCanExecute() protected method

protected commandOpenSelectedFolderCanExecute ( object parameter ) : bool
parameter object
return bool

commandOpenSelectedFolderExecute() protected method

protected commandOpenSelectedFolderExecute ( object parameter ) : object
parameter object
return object

commandRefreshCanExecute() protected method

protected commandRefreshCanExecute ( object parameter ) : bool
parameter object
return bool

commandRefreshExecute() protected method

protected commandRefreshExecute ( object parameter ) : object
parameter object
return object

commandRefreshFilesCanExecute() protected method

protected commandRefreshFilesCanExecute ( object parameter ) : bool
parameter object
return bool

commandRefreshFilesExecute() protected method

protected commandRefreshFilesExecute ( object parameter ) : object
parameter object
return object

commandSaveFolderCanExecute() protected method

protected commandSaveFolderCanExecute ( object parameter ) : bool
parameter object
return bool

commandSaveFolderExecute() protected method

protected commandSaveFolderExecute ( object parameter ) : object
parameter object
return object

commandSelectAllFilesCanExecute() protected method

protected commandSelectAllFilesCanExecute ( object parameter ) : bool
parameter object
return bool

commandSelectAllFilesExecute() protected method

protected commandSelectAllFilesExecute ( object parameter ) : object
parameter object
return object

commandSelectFolderCanExecute() protected method

protected commandSelectFolderCanExecute ( object parameter ) : bool
parameter object
return bool

commandSelectFolderExecute() protected method

protected commandSelectFolderExecute ( object parameter ) : object
parameter object
return object

Property Details

PROP_AutoRefreshInterval public_oe static_oe property

public static string PROP_AutoRefreshInterval
return string

PROP_AutoRefreshIntervalLocalized public_oe static_oe property

public static string PROP_AutoRefreshIntervalLocalized
return string

PROP_FileList public_oe static_oe property

public static string PROP_FileList
return string

PROP_FolderList public_oe static_oe property

public static string PROP_FolderList
return string

PROP_GoToLogItemId public_oe static_oe property

public static string PROP_GoToLogItemId
return string

PROP_IsAutoRefreshEnabled public_oe static_oe property

public static string PROP_IsAutoRefreshEnabled
return string

PROP_IsFileSelectionEnabled public_oe static_oe property

public static string PROP_IsFileSelectionEnabled
return string

PROP_IsLoading public_oe static_oe property

public static string PROP_IsLoading
return string

PROP_Items public_oe static_oe property

public static string PROP_Items
return string

PROP_ItemsDebugCount public_oe static_oe property

public static string PROP_ItemsDebugCount
return string

PROP_ItemsDebugFilterCount public_oe static_oe property

public static string PROP_ItemsDebugFilterCount
return string

PROP_ItemsErrorCount public_oe static_oe property

public static string PROP_ItemsErrorCount
return string

PROP_ItemsErrorFilterCount public_oe static_oe property

public static string PROP_ItemsErrorFilterCount
return string

PROP_ItemsFatalCount public_oe static_oe property

public static string PROP_ItemsFatalCount
return string

PROP_ItemsFatalFilterCount public_oe static_oe property

public static string PROP_ItemsFatalFilterCount
return string

PROP_ItemsFilterCount public_oe static_oe property

public static string PROP_ItemsFilterCount
return string

PROP_ItemsInfoCount public_oe static_oe property

public static string PROP_ItemsInfoCount
return string

PROP_ItemsInfoFilterCount public_oe static_oe property

public static string PROP_ItemsInfoFilterCount
return string

PROP_ItemsWarnCount public_oe static_oe property

public static string PROP_ItemsWarnCount
return string

PROP_ItemsWarnFilterCount public_oe static_oe property

public static string PROP_ItemsWarnFilterCount
return string

PROP_RecentFileList public_oe static_oe property

public static string PROP_RecentFileList
return string

PROP_SelectAll public_oe static_oe property

public static string PROP_SelectAll
return string

PROP_SelectDebug public_oe static_oe property

public static string PROP_SelectDebug
return string

PROP_SelectError public_oe static_oe property

public static string PROP_SelectError
return string

PROP_SelectFatal public_oe static_oe property

public static string PROP_SelectFatal
return string

PROP_SelectInfo public_oe static_oe property

public static string PROP_SelectInfo
return string

PROP_SelectWarn public_oe static_oe property

public static string PROP_SelectWarn
return string

PROP_SelectedFile public_oe static_oe property

public static string PROP_SelectedFile
return string

PROP_SelectedFileDir public_oe static_oe property

public static string PROP_SelectedFileDir
return string

PROP_SelectedFolder public_oe static_oe property

public static string PROP_SelectedFolder
return string

PROP_SelectedLogItem public_oe static_oe property

public static string PROP_SelectedLogItem
return string

PROP_ShowLevelDebug public_oe static_oe property

public static string PROP_ShowLevelDebug
return string

PROP_ShowLevelError public_oe static_oe property

public static string PROP_ShowLevelError
return string

PROP_ShowLevelFatal public_oe static_oe property

public static string PROP_ShowLevelFatal
return string

PROP_ShowLevelInfo public_oe static_oe property

public static string PROP_ShowLevelInfo
return string

PROP_ShowLevelWarn public_oe static_oe property

public static string PROP_ShowLevelWarn
return string

PROP_WindowTitle public_oe static_oe property

public static string PROP_WindowTitle
return string