C# Class NSwagStudio.ViewModels.MainWindowModel

The view model for the MainWindow.
Inheritance: ViewModelBase
Datei anzeigen Open project: NSwag/NSwag

Public Methods

Method Description
CloseDocumentAsync ( DocumentModel document ) : Task
MainWindowModel ( ) : System

Initializes a new instance of the MainWindowModel class.

OpenDocumentAsync ( string filePath ) : System.Threading.Tasks.Task

Protected Methods

Method Description
OnLoaded ( ) : void

Private Methods

Method Description
CreateDocument ( ) : void
LoadApplicationSettingsAsync ( ) : System.Threading.Tasks.Task
OpenDocumentAsync ( ) : System.Threading.Tasks.Task
SaveAsDocumentAsync ( DocumentModel document ) : Task
SaveDocumentAsync ( DocumentModel document ) : Task

Method Details

CloseDocumentAsync() public method

public CloseDocumentAsync ( DocumentModel document ) : Task
document DocumentModel
return Task

MainWindowModel() public method

Initializes a new instance of the MainWindowModel class.
public MainWindowModel ( ) : System
return System

OnLoaded() protected method

protected OnLoaded ( ) : void
return void

OpenDocumentAsync() public method

public OpenDocumentAsync ( string filePath ) : System.Threading.Tasks.Task
filePath string
return System.Threading.Tasks.Task