Class LightProjectModule
Inherited Members
Namespace: ArtOfTest.WebAii.Design.ProjectModel.Providers.Modules
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public class LightProjectModule : ModuleBase
Properties
FileSystemProvider
Declaration
protected FileSystemProvider FileSystemProvider { get; }
Property Value
FileSystemProvider
|
IsProjectLoaded
Declaration
public bool IsProjectLoaded { get; }
Property Value
System.Boolean
|
LightProjectElements
Declaration
public List<LightProjectElement> LightProjectElements { get; }
Property Value
System.Collections.Generic.List<LightProjectElement>
|
Project
SourceControlProvider
Declaration
protected SourceControlProviderBase SourceControlProvider { get; }
Property Value
SourceControlProviderBase
|
TestAsStepReferences
Declaration
public IList<LightTestAsStepReference> TestAsStepReferences { get; }
Property Value
System.Collections.Generic.IList<LightTestAsStepReference>
|
Methods
CopyElements(LightFolder, LightProjectElement[])
Declaration
public void CopyElements(LightFolder parentFolder, params LightProjectElement[] projectElements)
Parameters
LightFolder
parentFolder
|
LightProjectElement[]
projectElements
|
CreateCodeFile(String)
Declaration
public LightCodeFile CreateCodeFile(string path)
Parameters
System.String
path
|
Returns
LightCodeFile
|
CreateFolder(String, Boolean)
Declaration
public void CreateFolder(string path, bool folderCreated)
Parameters
System.String
path
|
System.Boolean
folderCreated
|
CreateTest(TestType, String)
Declaration
public LightTest CreateTest(TestType type, string parentFolder)
Parameters
TestType
type
|
System.String
parentFolder
|
Returns
LightTest
|
DeleteCodeBehindFile(LightTest)
DeleteExternalCodeFile(LightCodeFile)
Declaration
public void DeleteExternalCodeFile(LightCodeFile lCodeFile)
Parameters
LightCodeFile
lCodeFile
|
DeleteFolder(LightFolder)
DeleteTest(LightTest, Boolean)
Declaration
public void DeleteTest(LightTest lTest, bool deleteFromDisk)
Parameters
LightTest
lTest
|
System.Boolean
deleteFromDisk
|
ExcludeProjectElements(IList<LightProjectElement>)
Declaration
public void ExcludeProjectElements(IList<LightProjectElement> elements)
Parameters
System.Collections.Generic.IList<LightProjectElement>
elements
|
FindLightTest(String)
Declaration
public LightTest FindLightTest(string path)
Parameters
System.String
path
|
Returns
LightTest
|
FixTestAsStepByLightTest(LightTest, HashSet<LightProjectElement>)
Declaration
public void FixTestAsStepByLightTest(LightTest lightTest, HashSet<LightProjectElement> dirtyTestsSet)
Parameters
LightTest
lightTest
|
System.Collections.Generic.HashSet<LightProjectElement>
dirtyTestsSet
|
HookUpFileSystemProviderEvents()
Declaration
protected virtual void HookUpFileSystemProviderEvents()
ImportCodeFile(ImportCodeFileArgs)
Declaration
public LightCodeFile ImportCodeFile(ImportCodeFileArgs args)
Parameters
ImportCodeFileArgs
args
|
Returns
LightCodeFile
|
ImportTest(ImportTestArgs)
Declaration
public LightTest ImportTest(ImportTestArgs args)
Parameters
ImportTestArgs
args
|
Returns
LightTest
|
MoveCodeFile(LightCodeFile, String)
Declaration
public void MoveCodeFile(LightCodeFile lCodeFile, string newCodeFilePath)
Parameters
LightCodeFile
lCodeFile
|
System.String
newCodeFilePath
|
MoveFolder(LightFolder, String)
Declaration
public void MoveFolder(LightFolder lFolder, string newFolderPath)
Parameters
LightFolder
lFolder
|
System.String
newFolderPath
|
MoveTest(LightTest, String)
Declaration
public void MoveTest(LightTest lTest, string newTestPath)
Parameters
LightTest
lTest
|
System.String
newTestPath
|
OnFolderDiscovered(LightFolder)
Declaration
protected virtual void OnFolderDiscovered(LightFolder lightFolder)
Parameters
LightFolder
lightFolder
|
OnLightCodeFileLoaded(LightCodeFile)
Declaration
protected virtual void OnLightCodeFileLoaded(LightCodeFile lightCodeFile)
Parameters
LightCodeFile
lightCodeFile
|
OnLightTestDeleted(LightTest)
OnLightTestDeleting(LightTest)
OnLightTestLoaded(LightTest)
Declaration
protected virtual void OnLightTestLoaded(LightTest lightTest)
Parameters
LightTest
lightTest
|
OnLightTestMoved(LightTestMovedArgs)
Declaration
protected void OnLightTestMoved(LightTestMovedArgs args)
Parameters
LightTestMovedArgs
args
|
OnLightTestsLoaded()
Declaration
protected virtual void OnLightTestsLoaded()
OnProjectElementManuallyDeleted(LightProjectElement)
Declaration
protected virtual void OnProjectElementManuallyDeleted(LightProjectElement element)
Parameters
LightProjectElement
element
|
OnProjectLoaded(Project)
RenameCodeFile(LightCodeFile, String)
Declaration
public void RenameCodeFile(LightCodeFile lCodeFile, string newName)
Parameters
LightCodeFile
lCodeFile
|
System.String
newName
|
RenameFolder(LightFolder, String)
Declaration
public void RenameFolder(LightFolder lFolder, string newName)
Parameters
LightFolder
lFolder
|
System.String
newName
|
RenameTest(LightTest, String)
Declaration
public void RenameTest(LightTest lTest, string newName)
Parameters
LightTest
lTest
|
System.String
newName
|
SaveProject()
Declaration
public void SaveProject()
SaveProjectAsync()
Declaration
public Task SaveProjectAsync()
Returns
System.Threading.Tasks.Task
|
SaveProjectElements(IList<LightProjectElement>)
Declaration
public void SaveProjectElements(IList<LightProjectElement> elements)
Parameters
System.Collections.Generic.IList<LightProjectElement>
elements
|
SaveProjectElementsAsync(IList<LightProjectElement>)
Declaration
public Task SaveProjectElementsAsync(IList<LightProjectElement> elements)
Parameters
System.Collections.Generic.IList<LightProjectElement>
elements
|
Returns
System.Threading.Tasks.Task
|
SmartRefresh(Boolean)
Declaration
public IList<string> SmartRefresh(bool updateCodeBehind = true)
Parameters
System.Boolean
updateCodeBehind
|
Returns
System.Collections.Generic.IList<System.String>
|
UnHookUpFileSystemProviderEvents()
Declaration
protected virtual void UnHookUpFileSystemProviderEvents()
Events
FolderDiscovered
LightCodeFileLoaded
Declaration
public event Action<LightCodeFile> LightCodeFileLoaded
Event Type
System.Action<LightCodeFile>
|
LightCodeFileMoved
Declaration
public event Action<LightCodeFile, string> LightCodeFileMoved
Event Type
System.Action<LightCodeFile, System.String>
|
LightProjectLoaded
LightTestDeleted
LightTestDeleting
LightTestDirtyStateChanged
Declaration
public event Action<LightTest, bool> LightTestDirtyStateChanged
Event Type
System.Action<LightTest, System.Boolean>
|
LightTestLoaded
LightTestMoved
Declaration
public event Action<LightTestMovedArgs> LightTestMoved
Event Type
System.Action<LightTestMovedArgs>
|
LightTestsLoaded
Declaration
public event Action LightTestsLoaded
Event Type
System.Action
|
ProjectElementManuallyDeleted
Declaration
public event Action<LightProjectElement> ProjectElementManuallyDeleted
Event Type
System.Action<LightProjectElement>
|