C# Class Microsoft.VisualStudio.R.Package.Publishing.Commands.PreviewCommand

Inheritance: Microsoft.Languages.Editor.Controller.Command.ViewCommand
Datei anzeigen Open project: Microsoft/RTVS

Protected Properties

Property Type Description
_workflowProvider IRInteractiveWorkflowProvider

Public Methods

Method Description
Invoke ( System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
PreviewCommand ( ITextView textView, int id, IRInteractiveWorkflowProvider workflowProvider, IApplicationShell appShell, IProcessServices pss, IFileSystem fs ) : System
Status ( System.Guid group, int id ) : CommandStatus

Protected Methods

Method Description
CheckExistsOnPathAsync ( string fileName ) : Task
CheckPrerequisitesAsync ( ) : Task
LaunchViewer ( string fileName ) : void

Private Methods

Method Description
GetFlavorHandler ( ITextBuffer textBuffer ) : IMarkdownFlavorPublishHandler
IsFormatSupported ( ) : bool
LaunchViewer ( ) : void
SaveFile ( ) : ITextBuffer
TaskAvailable ( ) : bool

Method Details

CheckExistsOnPathAsync() protected method

protected CheckExistsOnPathAsync ( string fileName ) : Task
fileName string
return Task

CheckPrerequisitesAsync() protected method

protected CheckPrerequisitesAsync ( ) : Task
return Task

Invoke() public method

public Invoke ( System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
group System.Guid
id int
inputArg object
outputArg object
return Microsoft.R.Components.Controller.CommandResult

LaunchViewer() protected method

protected LaunchViewer ( string fileName ) : void
fileName string
return void

PreviewCommand() public method

public PreviewCommand ( ITextView textView, int id, IRInteractiveWorkflowProvider workflowProvider, IApplicationShell appShell, IProcessServices pss, IFileSystem fs ) : System
textView ITextView
id int
workflowProvider IRInteractiveWorkflowProvider
appShell IApplicationShell
pss IProcessServices
fs IFileSystem
return System

Status() public method

public Status ( System.Guid group, int id ) : CommandStatus
group System.Guid
id int
return CommandStatus

Property Details

_workflowProvider protected_oe property

protected IRInteractiveWorkflowProvider _workflowProvider
return IRInteractiveWorkflowProvider