C# Class Scorchio.VisualStudio.Extensions.CodeFunctionExtensions

Defines the CodeFunctionExtensions type.
Mostrar archivo Open project: asudbury/NinjaCoderForMvvmCross

Public Methods

Method Description
FormatParameters ( this instance ) : void

Formats the parameters.

GetCode ( this instance ) : string

Gets the code.

InsertCode ( this instance, string code, bool atTheStart ) : void

Insert code.

RemoveComments ( this instance ) : void

Removes the comments.

ReplaceCode ( this instance, string newCode ) : void

Replaces the code.

Method Details

FormatParameters() public static method

Formats the parameters.
public static FormatParameters ( this instance ) : void
instance this The instance.
return void

GetCode() public static method

Gets the code.
public static GetCode ( this instance ) : string
instance this The instance.
return string

InsertCode() public static method

Insert code.
public static InsertCode ( this instance, string code, bool atTheStart ) : void
instance this The instance.
code string The code.
atTheStart bool if set to true [at the start].
return void

RemoveComments() public static method

Removes the comments.
public static RemoveComments ( this instance ) : void
instance this The instance.
return void

ReplaceCode() public static method

Replaces the code.
public static ReplaceCode ( this instance, string newCode ) : void
instance this The instance.
newCode string The new code.
return void