C# Class CustomToolkit.Markdown

Inheritance: CustomToolkit.BaseCodeGeneratorWithSite
Exibir arquivo Open project: wheelibin/Markdown-For-Visual-Studio

Public Methods

Method Description
ConvertToBytes ( string content ) : byte[]

Takes the file contents and converts them to a byte[] that VS can use to update generated code.

Protected Methods

Method Description
GenerateCode ( string inputFileContent ) : byte[]

Function that builds the contents of the generated file based on the contents of the input file

GetDefaultExtension ( ) : string

Returns the extension for the generated file

Method Details

ConvertToBytes() public static method

Takes the file contents and converts them to a byte[] that VS can use to update generated code.
public static ConvertToBytes ( string content ) : byte[]
content string
return byte[]

GenerateCode() protected method

Function that builds the contents of the generated file based on the contents of the input file
protected GenerateCode ( string inputFileContent ) : byte[]
inputFileContent string Content of the input file
return byte[]

GetDefaultExtension() protected method

Returns the extension for the generated file
protected GetDefaultExtension ( ) : string
return string