C# Class Scorchio.VisualStudio.Extensions.CodeSnippetsExtensions

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

Public Methods

Method Description
AddReplacementVariable ( this instance, string key, string value ) : void

Adds a replacement variable.

GetMockConstructorCode ( this instance ) : string

Gets the mock constructor code.

GetMockInitCode ( this instance ) : string

Gets the mock init code.

Private Methods

Method Description
GetSpacedCodeLine ( string code ) : string

Gets the spaced code line.

Method Details

AddReplacementVariable() public static method

Adds a replacement variable.
public static AddReplacementVariable ( this instance, string key, string value ) : void
instance this The instance.
key string The key.
value string The value.
return void

GetMockConstructorCode() public static method

Gets the mock constructor code.
public static GetMockConstructorCode ( this instance ) : string
instance this The instance.
return string

GetMockInitCode() public static method

Gets the mock init code.
public static GetMockInitCode ( this instance ) : string
instance this The instance.
return string