C# Class AvalonStudio.ShellViewModel

Inheritance: ViewModel, IShell
Show file Open project: VitalElement/AvalonStudio

Public Properties

Property Type Description
Instance ShellViewModel

Public Methods

Method Description
AddDocument ( IDocumentTabViewModel document ) : void
Build ( ) : void
Build ( IProject project ) : void
Clean ( ) : void
Clean ( IProject project ) : void
Cleanup ( ) : void
CloseDocumentsForProjectAsync ( IProject project ) : Task
CloseSolutionAsync ( ) : Task
ExitApplication ( ) : void
GetDefaultProject ( ) : IProject
GetDocument ( string path ) : IEditor
InvalidateCodeAnalysis ( ) : void
InvalidateErrors ( ) : void
OnKeyDown ( Avalonia.Input.KeyEventArgs e ) : void
OpenDocument ( ISourceFile file, int line, int column = 1, bool debugHighlight = false, bool selectLine = false ) : Task
OpenSolutionAsync ( string path ) : Task
RemoveDocument ( IDocumentTabViewModel document ) : void
Save ( ) : void
SaveAll ( ) : void
ShowPackagesDialog ( ) : void
ShowProjectPropertiesDialog ( ) : void

Private Methods

Method Description
ShellViewModel ( [ importedTools, [ languageServices, [ solutionTypes, [ projectTypes, [ projectTemplates, [ toolChains, [ debuggers, [ testFrameworks, [ codeTemplates, [ extensions, [ mainMenu ) : System

Method Details

AddDocument() public method

public AddDocument ( IDocumentTabViewModel document ) : void
document IDocumentTabViewModel
return void

Build() public method

public Build ( ) : void
return void

Build() public method

public Build ( IProject project ) : void
project IProject
return void

Clean() public method

public Clean ( ) : void
return void

Clean() public method

public Clean ( IProject project ) : void
project IProject
return void

Cleanup() public method

public Cleanup ( ) : void
return void

CloseDocumentsForProjectAsync() public method

public CloseDocumentsForProjectAsync ( IProject project ) : Task
project IProject
return Task

CloseSolutionAsync() public method

public CloseSolutionAsync ( ) : Task
return Task

ExitApplication() public method

public ExitApplication ( ) : void
return void

GetDefaultProject() public method

public GetDefaultProject ( ) : IProject
return IProject

GetDocument() public method

public GetDocument ( string path ) : IEditor
path string
return IEditor

InvalidateCodeAnalysis() public method

public InvalidateCodeAnalysis ( ) : void
return void

InvalidateErrors() public method

public InvalidateErrors ( ) : void
return void

OnKeyDown() public method

public OnKeyDown ( Avalonia.Input.KeyEventArgs e ) : void
e Avalonia.Input.KeyEventArgs
return void

OpenDocument() public method

public OpenDocument ( ISourceFile file, int line, int column = 1, bool debugHighlight = false, bool selectLine = false ) : Task
file ISourceFile
line int
column int
debugHighlight bool
selectLine bool
return Task

OpenSolutionAsync() public method

public OpenSolutionAsync ( string path ) : Task
path string
return Task

RemoveDocument() public method

public RemoveDocument ( IDocumentTabViewModel document ) : void
document IDocumentTabViewModel
return void

Save() public method

public Save ( ) : void
return void

SaveAll() public method

public SaveAll ( ) : void
return void

ShowPackagesDialog() public method

public ShowPackagesDialog ( ) : void
return void

ShowProjectPropertiesDialog() public method

public ShowProjectPropertiesDialog ( ) : void
return void

Property Details

Instance public static property

public static ShellViewModel,AvalonStudio Instance
return ShellViewModel