C# Класс Scorchio.VisualStudio.Extensions.CodeSnippetsExtensions

Defines the CodeSnippetsExtensions type.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetSpacedCodeLine ( string code ) : string

Gets the spaced code line.

Описание методов

AddReplacementVariable() публичный статический Метод

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.
Результат void

GetMockConstructorCode() публичный статический Метод

Gets the mock constructor code.
public static GetMockConstructorCode ( this instance ) : string
instance this The instance.
Результат string

GetMockInitCode() публичный статический Метод

Gets the mock init code.
public static GetMockInitCode ( this instance ) : string
instance this The instance.
Результат string