C# Class Microsoft.VisualStudio.R.Package.Publishing.RmdPublishHandler

Inheritance: IMarkdownFlavorPublishHandler
Show file Open project: Microsoft/RTVS

Public Methods

Method Description
FormatSupported ( PublishFormat format ) : bool
PublishAsync ( IRSession session, IApplicationShell appShell, IFileSystem fs, string inputFilePath, string outputFilePath, PublishFormat publishFormat, Encoding encoding ) : Task

Private Methods

Method Description
GetDocumentTypeString ( PublishFormat publishFormat ) : string
RMarkdownRenderAsync ( IRSession session, IFileSystem fs, string inputFilePath, string outputFilePath, string format, int codePage, IApplicationShell appShell ) : Task

Method Details

FormatSupported() public method

public FormatSupported ( PublishFormat format ) : bool
format PublishFormat
return bool

PublishAsync() public method

public PublishAsync ( IRSession session, IApplicationShell appShell, IFileSystem fs, string inputFilePath, string outputFilePath, PublishFormat publishFormat, Encoding encoding ) : Task
session IRSession
appShell IApplicationShell
fs IFileSystem
inputFilePath string
outputFilePath string
publishFormat PublishFormat
encoding System.Text.Encoding
return Task