C# Класс Raven.Studio.Models.ApplicationModel

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

Метод Описание
ApplicationModel ( ) : System
GetAssemblyVersion ( ) : string
RegisterToAlerts ( ) : void
UpdateAlerts ( ) : void

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

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

public AddErrorNotification ( Exception exception, string message = null ) : void
exception Exception
message string
Результат void

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

public AddInfoNotification ( string message ) : void
message string
Результат void

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

public AddNotification ( Notification notification ) : void
notification Notification
Результат void

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

public AddWarningNotification ( string message ) : void
message string
Результат void

CreateSerializer() публичный статический Метод

public static CreateSerializer ( ) : JsonSerializer
Результат JsonSerializer

ExtractError() публичный статический Метод

public static ExtractError ( Stream stream, HttpWebResponse httpWebResponse ) : List
stream Stream
httpWebResponse HttpWebResponse
Результат List

ExtractError() публичный статический Метод

public static ExtractError ( Stream stream, HttpWebResponse httpWebResponse, IEnumerable details ) : List
stream Stream
httpWebResponse HttpWebResponse
details IEnumerable
Результат List

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

public Refresh ( ) : void
Результат void

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

public Setup ( FrameworkElement rootVisual ) : void
rootVisual System.Windows.FrameworkElement
Результат void

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

public ShowDocumentInDocumentPad ( string documentId ) : void
documentId string
Результат void