C# Класс Dev2.Studio.ViewModels.Diagnostics.ReportsManagerViewModel

The viewmodel used for displaying reports
Наследование: Dev2.Studio.ViewModels.WorkSurface.BaseWorkSurfaceViewModel
Показать файл Открыть проект

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

Метод Описание
Delete ( FilePath filePath ) : void

Deletes the specified file path by sending a message to web client.

DeleteAll ( ) : void

Deletes all the logs from the selected server directory.

GetLogFiles ( IEnvironmentModel server, DirectoryPath directory ) : IEnumerable

Gets the log files from the server (using webclient).

RefreshDirectory ( ) : void

Refreshes the content of the directory.

ReportsManagerViewModel ( ) : System
ReportsManagerViewModel ( IEventAggregator eventPublisher ) : System

Защищенные методы

Метод Описание
OnViewAttached ( object view, object context ) : void

Called by caliburn micro when [view attached].

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

Метод Описание
GetLogDetails ( FilePath selectedLogFile ) : void

Gets the log details through the webclient.

GetLogDirectory ( IEnvironmentModel server ) : DirectoryPath

Gets the log directory from the server (using webclient).

ShowError ( Exception e ) : void

Friendly helper to shows an error.

ShowError ( string response ) : void

Friendly helper to shows an error.

ShowErrorPopup ( string message ) : void

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

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

Deletes the specified file path by sending a message to web client.
public Delete ( FilePath filePath ) : void
filePath Dev2.Diagnostics.FilePath The file path.
Результат void

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

Deletes all the logs from the selected server directory.
public DeleteAll ( ) : void
Результат void

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

Gets the log files from the server (using webclient).
public GetLogFiles ( IEnvironmentModel server, DirectoryPath directory ) : IEnumerable
server IEnvironmentModel The server.
directory Dev2.Diagnostics.DirectoryPath The directory.
Результат IEnumerable

OnViewAttached() защищенный Метод

Called by caliburn micro when [view attached].
protected OnViewAttached ( object view, object context ) : void
view object The view.
context object The context.
Результат void

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

Refreshes the content of the directory.
public RefreshDirectory ( ) : void
Результат void

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

public ReportsManagerViewModel ( ) : System
Результат System

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

public ReportsManagerViewModel ( IEventAggregator eventPublisher ) : System
eventPublisher IEventAggregator
Результат System