C# Class Raven.Studio.Models.ApplicationModel

Show file Open project: robashton/ravendb Class Usage Examples

Public Methods

Method Description
AddErrorNotification ( Exception exception, string message = null ) : void
AddInfoNotification ( string message ) : void
AddNotification ( Notification notification ) : void
AddWarningNotification ( string message ) : void
CreateSerializer ( ) : JsonSerializer
ExtractError ( Stream stream, HttpWebResponse httpWebResponse ) : List
ExtractError ( Stream stream, HttpWebResponse httpWebResponse, IEnumerable details ) : List
Refresh ( ) : void
Setup ( FrameworkElement rootVisual ) : void
ShowDocumentInDocumentPad ( string documentId ) : void

Private Methods

Method Description
ApplicationModel ( ) : System
GetAssemblyVersion ( ) : string
RegisterToAlerts ( ) : void
UpdateAlerts ( ) : void

Method Details

AddErrorNotification() public method

public AddErrorNotification ( Exception exception, string message = null ) : void
exception Exception
message string
return void

AddInfoNotification() public method

public AddInfoNotification ( string message ) : void
message string
return void

AddNotification() public method

public AddNotification ( Notification notification ) : void
notification Notification
return void

AddWarningNotification() public method

public AddWarningNotification ( string message ) : void
message string
return void

CreateSerializer() public static method

public static CreateSerializer ( ) : JsonSerializer
return JsonSerializer

ExtractError() public static method

public static ExtractError ( Stream stream, HttpWebResponse httpWebResponse ) : List
stream Stream
httpWebResponse HttpWebResponse
return List

ExtractError() public static method

public static ExtractError ( Stream stream, HttpWebResponse httpWebResponse, IEnumerable details ) : List
stream Stream
httpWebResponse HttpWebResponse
details IEnumerable
return List

Refresh() public method

public Refresh ( ) : void
return void

Setup() public method

public Setup ( FrameworkElement rootVisual ) : void
rootVisual System.Windows.FrameworkElement
return void

ShowDocumentInDocumentPad() public method

public ShowDocumentInDocumentPad ( string documentId ) : void
documentId string
return void