C# Class Dev2.Studio.ViewModels.Diagnostics.ReportsManagerViewModel

The viewmodel used for displaying reports
Inheritance: Dev2.Studio.ViewModels.WorkSurface.BaseWorkSurfaceViewModel
Afficher le fichier Open project: Warewolf-ESB/Warewolf

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
OnViewAttached ( object view, object context ) : void

Called by caliburn micro when [view attached].

Private Methods

Méthode Description
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

Method Details

Delete() public méthode

Deletes the specified file path by sending a message to web client.
public Delete ( FilePath filePath ) : void
filePath Dev2.Diagnostics.FilePath The file path.
Résultat void

DeleteAll() public méthode

Deletes all the logs from the selected server directory.
public DeleteAll ( ) : void
Résultat void

GetLogFiles() public méthode

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.
Résultat IEnumerable

OnViewAttached() protected méthode

Called by caliburn micro when [view attached].
protected OnViewAttached ( object view, object context ) : void
view object The view.
context object The context.
Résultat void

RefreshDirectory() public méthode

Refreshes the content of the directory.
public RefreshDirectory ( ) : void
Résultat void

ReportsManagerViewModel() public méthode

public ReportsManagerViewModel ( ) : System
Résultat System

ReportsManagerViewModel() public méthode

public ReportsManagerViewModel ( IEventAggregator eventPublisher ) : System
eventPublisher IEventAggregator
Résultat System