ClassProjectDataManager
Definition
Namespace:ArtOfTest.WebAii.Design.ProjectModel.Providers
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public class ProjectDataManager : ModuleBase
Inheritance: objectModuleBaseProjectDataManager
Inherited Members
Constructors
ProjectDataManager()
Declaration
public ProjectDataManager()
Properties
AppContainer
Declaration
public ILifetimeScope AppContainer { get; set; }
Property Value
ILifetimeScope
CodeService
Gets the code service.
Declaration
public ICodeService CodeService { get; }
Property Value
The code service.
Data
Handles all operations related to the Project's DataSources
Elements
Handles all opeartions related to the Project's Elements
FileSystemProvider
Declaration
protected FileSystemProvider FileSystemProvider { get; }
Property Value
LightProject
Handles all operations related to the Project's Light model structure
Declaration
public LightProjectModule LightProject { get; }
Property Value
ProjectModule
Handles all operations related to the Project's Test(s)
Declaration
public ProjectModule ProjectModule { get; }
Property Value
SourceControlProvider
Gets the source control provider if loaded.
Declaration
public SourceControlProviderBase SourceControlProvider { get; }
Property Value
The source control provider.
Methods
CloseProject()
Closes the project data this manager belongs to.
Declaration
public void CloseProject()
CreateProject(string, string, string, CodeGenerationLanguage)
Create and load project from the FileSystem.
Declaration
public void CreateProject(string location, string vsSolutionPath = "", string vsProjectPath = "", CodeGenerationLanguage vsProjectLanguage = CodeGenerationLanguage.NotSet)
Parameters
location
The location.
vsSolutionPath
vsProjectPath
vsProjectLanguage
GetCheckInPathsByElements(IList<LightProjectElement>)
Checks-In(s) the elements into the active source control.
Declaration
public List<string> GetCheckInPathsByElements(IList<LightProjectElement> elements)
Parameters
elements
The elements.
Returns
GetLatestVersionElements(IList<LightProjectElement>)
Declaration
public void GetLatestVersionElements(IList<LightProjectElement> elements)
Parameters
elements
LoadProject(string, string, string)
Triggers project load from the FileSystem
OnSourceControlConnected(bool)
Declaration
protected virtual void OnSourceControlConnected(bool isConnected)
Parameters
isConnected
RevertElements(IList<LightProjectElement>, bool)
Reverts all local changes.
Declaration
public void RevertElements(IList<LightProjectElement> elements, bool skipRefresh = false)
Parameters
elements
The elements.
skipRefresh
TFSCheckOutElements(IList<LightProjectElement>)
Check(s)-out the elements from the active source control.
Declaration
public void TFSCheckOutElements(IList<LightProjectElement> elements)
Parameters
elements
The elements.