C# Class Scorchio.VisualStudio.Extensions.CodeSnippetsExtensions

Defines the CodeSnippetsExtensions type.
Afficher le fichier Open project: asudbury/NinjaCoderForMvvmCross

Méthodes publiques

Méthode 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

Méthode Description
GetSpacedCodeLine ( string code ) : string

Gets the spaced code line.

Method Details

AddReplacementVariable() public static méthode

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.
Résultat void

GetMockConstructorCode() public static méthode

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

GetMockInitCode() public static méthode

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