C# Class Scorchio.VisualStudio.Services.TextTransformationService

Defines the TextTransformationService type.
Inheritance: ITextTransformationService
显示文件 Open project: asudbury/NinjaCoderForMvvmCross

Public Methods

Method Description
GetTextOutput ( string sourceText, string>.IDictionary parameters, bool removeFileHeaders, bool removeXmlComments, bool removeThisPointer ) : string

Gets the text output.

TextTransformationService ( ) : System.Collections.Generic

Initializes a new instance of the TextTransformationService class.

Transform ( TextTransformationRequest textTransformationRequest ) : TextTransformation

Transforms the specified source file.

Private Methods

Method Description
GetText ( string sourceFile ) : string

Gets the text.

Method Details

GetTextOutput() public method

Gets the text output.
public GetTextOutput ( string sourceText, string>.IDictionary parameters, bool removeFileHeaders, bool removeXmlComments, bool removeThisPointer ) : string
sourceText string The source text.
parameters string>.IDictionary The parameters.
removeFileHeaders bool if set to true [remove file headers].
removeXmlComments bool if set to true [remove XML comments].
removeThisPointer bool if set to true [remove this pointer].
return string

TextTransformationService() public method

Initializes a new instance of the TextTransformationService class.
public TextTransformationService ( ) : System.Collections.Generic
return System.Collections.Generic

Transform() public method

Transforms the specified source file.
public Transform ( TextTransformationRequest textTransformationRequest ) : TextTransformation
textTransformationRequest TextTransformationRequest The text transformation request.
return TextTransformation