Interface ICodeService
Namespace: ArtOfTest.WebAii.Design.CodeGeneration
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public interface ICodeService
Properties
AutoFormat
Declaration
bool AutoFormat { get; set; }
Property Value
System.Boolean
|
CodeEditor
Methods
AddCodedFunction(LightTest, LightCodeFile, AutomationStep, String, Boolean)
Declaration
void AddCodedFunction(LightTest lightTest, LightCodeFile lightCodeFile, AutomationStep step, string functionContent, bool positionCodedStep)
Parameters
LightTest
lightTest
|
LightCodeFile
lightCodeFile
|
AutomationStep
step
|
System.String
functionContent
|
System.Boolean
positionCodedStep
|
CleanupTestCodeFileEditor(LightCodeFile)
Declaration
void CleanupTestCodeFileEditor(LightCodeFile lightCodeFile)
Parameters
LightCodeFile
lightCodeFile
|
CreateCodeBehindFile(LightTest)
Declaration
string CreateCodeBehindFile(LightTest lightTest)
Parameters
LightTest
lightTest
|
Returns
System.String
|
CreateLanguageData(Project)
CreateNewClass(String)
Declaration
void CreateNewClass(string path)
Parameters
System.String
path
|
DisplayLanguageSelector(Project)
Declaration
bool DisplayLanguageSelector(Project project)
Parameters
Project
project
|
Returns
System.Boolean
|
GetCodedFunctions(LightCodeFile, out String)
Declaration
List<string> GetCodedFunctions(LightCodeFile lightCodeFile, out string parsingError)
Parameters
LightCodeFile
lightCodeFile
|
System.String
parsingError
|
Returns
System.Collections.Generic.List<System.String>
|
GetCodedTestAsSteps(LightCodeFile)
Declaration
string[] GetCodedTestAsSteps(LightCodeFile lightCodeFile)
Parameters
LightCodeFile
lightCodeFile
|
Returns
System.String[]
|
GotoLine(LightCodeFile, Int32, Int32)
Declaration
void GotoLine(LightCodeFile lightCodeFile, int line, int column)
Parameters
LightCodeFile
lightCodeFile
|
System.Int32
line
|
System.Int32
column
|
InitCodeBehindProperties(LightCodeFile)
Declaration
void InitCodeBehindProperties(LightCodeFile lightCodeFile)
Parameters
LightCodeFile
lightCodeFile
|
LoadCodeBehindFile(Project, LightCodeFile)
Declaration
void LoadCodeBehindFile(Project project, LightCodeFile lightCodeFile)
Parameters
Project
project
|
LightCodeFile
lightCodeFile
|
RaiseFileSystemEvents(Boolean)
Declaration
void RaiseFileSystemEvents(bool enable)
Parameters
System.Boolean
enable
|
RegenerateElementsCode(Object, GenericEventArgs<String>)
Declaration
void RegenerateElementsCode(object sender, GenericEventArgs<string> e)
Parameters
System.Object
sender
|
GenericEventArgs<System.String>
e
|
ReloadCodeBehind(LightCodeFile)
Declaration
void ReloadCodeBehind(LightCodeFile lightCodeFile)
Parameters
LightCodeFile
lightCodeFile
|
RemoveProjectReference(Project, String)
Declaration
void RemoveProjectReference(Project project, string assemblyFullName)
Parameters
Project
project
|
System.String
assemblyFullName
|
SaveTestCodeFile(LightCodeFile)
Declaration
void SaveTestCodeFile(LightCodeFile lightCodeFile)
Parameters
LightCodeFile
lightCodeFile
|
SetProjectReference(Project, String)
Declaration
void SetProjectReference(Project project, string assemblyFullName)
Parameters
Project
project
|
System.String
assemblyFullName
|
SetTestCodeFileErrors(LightCodeFile, CompilerErrorCollection)
Declaration
void SetTestCodeFileErrors(LightCodeFile lightCodeFile, CompilerErrorCollection errors)
Parameters
LightCodeFile
lightCodeFile
|
System.CodeDom.Compiler.CompilerErrorCollection
errors
|
ShowTestCodeFile(LightCodeFile, String)
Declaration
void ShowTestCodeFile(LightCodeFile lightCodeFile, string stepId)
Parameters
LightCodeFile
lightCodeFile
|
System.String
stepId
|
UnloadCodeFile(LightCodeFile)
UnloadProject(Project)
UpdateBaseClass(String)
Declaration
void UpdateBaseClass(string baseClass)
Parameters
System.String
baseClass
|
UpdateClass(LightCodeFile, String)
Declaration
void UpdateClass(LightCodeFile lightCodeFile, string updatedClass)
Parameters
LightCodeFile
lightCodeFile
|
System.String
updatedClass
|
UpdateCodeEditor(LightCodeFile, ICodeEditor)
Declaration
void UpdateCodeEditor(LightCodeFile lightCodeFile, ICodeEditor codeEditor)
Parameters
LightCodeFile
lightCodeFile
|
ICodeEditor
codeEditor
|
UpdateFileWatcherPath(Project, String)
Declaration
void UpdateFileWatcherPath(Project project, string newPath)
Parameters
Project
project
|
System.String
newPath
|
UpdateNamespace(Object, String)
Declaration
void UpdateNamespace(object element, string updatedNamespace)
Parameters
System.Object
element
|
System.String
updatedNamespace
|
UpdateScriptStepContent(LightCodeFile, AutomationStep)
Declaration
void UpdateScriptStepContent(LightCodeFile lightCodeFile, AutomationStep step)
Parameters
LightCodeFile
lightCodeFile
|
AutomationStep
step
|