Interface
ICodeService

Definition

Namespace:ArtOfTest.WebAii.Design.CodeGeneration

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public interface ICodeService

Properties

AutoFormat

Declaration

cs-api-definition
bool AutoFormat { get; set; }

Property Value

bool

CodeEditor

Declaration

cs-api-definition
ICodeEditor CodeEditor { get; set; }

Property Value

ICodeEditor

Methods

AddCodedFunction(LightTest, LightCodeFile, AutomationStep, string, bool)

Declaration

cs-api-definition
void AddCodedFunction(LightTest lightTest, LightCodeFile lightCodeFile, AutomationStep step, string functionContent, bool positionCodedStep)

Parameters

lightTest

LightTest

lightCodeFile

LightCodeFile

step

AutomationStep

functionContent

string

positionCodedStep

bool

CleanupTestCodeFileEditor(LightCodeFile)

Declaration

cs-api-definition
void CleanupTestCodeFileEditor(LightCodeFile lightCodeFile)

Parameters

lightCodeFile

LightCodeFile

CreateCodeBehindFile(LightTest)

Declaration

cs-api-definition
string CreateCodeBehindFile(LightTest lightTest)

Parameters

lightTest

LightTest

Returns

string

CreateLanguageData(Project)

Declaration

cs-api-definition
void CreateLanguageData(Project project)

Parameters

project

Project

CreateNewClass(string)

Declaration

cs-api-definition
void CreateNewClass(string path)

Parameters

path

string

DisplayLanguageSelector(Project)

Declaration

cs-api-definition
bool DisplayLanguageSelector(Project project)

Parameters

project

Project

Returns

bool

GetCodedFunctions(LightCodeFile, out string)

Declaration

cs-api-definition
List<string> GetCodedFunctions(LightCodeFile lightCodeFile, out string parsingError)

Parameters

lightCodeFile

LightCodeFile

parsingError

string

Returns

List<string>

GetCodedTestAsSteps(LightCodeFile)

Declaration

cs-api-definition
string[] GetCodedTestAsSteps(LightCodeFile lightCodeFile)

Parameters

lightCodeFile

LightCodeFile

Returns

string[]

GotoLine(LightCodeFile, int, int)

Declaration

cs-api-definition
void GotoLine(LightCodeFile lightCodeFile, int line, int column)

Parameters

lightCodeFile

LightCodeFile

line

int

column

int

InitCodeBehindProperties(LightCodeFile)

Declaration

cs-api-definition
void InitCodeBehindProperties(LightCodeFile lightCodeFile)

Parameters

lightCodeFile

LightCodeFile

LoadCodeBehindFile(Project, LightCodeFile)

Declaration

cs-api-definition
void LoadCodeBehindFile(Project project, LightCodeFile lightCodeFile)

Parameters

project

Project

lightCodeFile

LightCodeFile

RaiseFileSystemEvents(bool)

Declaration

cs-api-definition
void RaiseFileSystemEvents(bool enable)

Parameters

enable

bool

RegenerateElementsCode(object, GenericEventArgs<string>)

Declaration

cs-api-definition
void RegenerateElementsCode(object sender, GenericEventArgs<string> e)

Parameters

sender

object

e

GenericEventArgs<string>

ReloadCodeBehind(LightCodeFile)

Declaration

cs-api-definition
void ReloadCodeBehind(LightCodeFile lightCodeFile)

Parameters

lightCodeFile

LightCodeFile

RemoveProjectReference(Project, string)

Declaration

cs-api-definition
void RemoveProjectReference(Project project, string assemblyFullName)

Parameters

project

Project

assemblyFullName

string

SaveTestCodeFile(LightCodeFile)

Declaration

cs-api-definition
void SaveTestCodeFile(LightCodeFile lightCodeFile)

Parameters

lightCodeFile

LightCodeFile

SetProjectReference(Project, string)

Declaration

cs-api-definition
void SetProjectReference(Project project, string assemblyFullName)

Parameters

project

Project

assemblyFullName

string

SetTestCodeFileErrors(LightCodeFile, CompilerErrorCollection)

Declaration

cs-api-definition
void SetTestCodeFileErrors(LightCodeFile lightCodeFile, CompilerErrorCollection errors)

Parameters

lightCodeFile

LightCodeFile

errors

CompilerErrorCollection

ShowTestCodeFile(LightCodeFile, string)

Declaration

cs-api-definition
void ShowTestCodeFile(LightCodeFile lightCodeFile, string stepId)

Parameters

lightCodeFile

LightCodeFile

stepId

string

UnloadCodeFile(LightCodeFile)

Declaration

cs-api-definition
void UnloadCodeFile(LightCodeFile lightCodeFile)

Parameters

lightCodeFile

LightCodeFile

UnloadProject(Project)

Declaration

cs-api-definition
void UnloadProject(Project project)

Parameters

project

Project

UpdateBaseClass(string)

Declaration

cs-api-definition
void UpdateBaseClass(string baseClass)

Parameters

baseClass

string

UpdateClass(LightCodeFile, string)

Declaration

cs-api-definition
void UpdateClass(LightCodeFile lightCodeFile, string updatedClass)

Parameters

lightCodeFile

LightCodeFile

updatedClass

string

UpdateCodeEditor(LightCodeFile, ICodeEditor)

Declaration

cs-api-definition
void UpdateCodeEditor(LightCodeFile lightCodeFile, ICodeEditor codeEditor)

Parameters

lightCodeFile

LightCodeFile

codeEditor

ICodeEditor

UpdateFileWatcherPath(Project, string)

Declaration

cs-api-definition
void UpdateFileWatcherPath(Project project, string newPath)

Parameters

project

Project

newPath

string

UpdateNamespace(object, string)

Declaration

cs-api-definition
void UpdateNamespace(object element, string updatedNamespace)

Parameters

element

object

updatedNamespace

string

UpdateScriptStepContent(LightCodeFile, AutomationStep)

Declaration

cs-api-definition
void UpdateScriptStepContent(LightCodeFile lightCodeFile, AutomationStep step)

Parameters

lightCodeFile

LightCodeFile

step

AutomationStep