Class
ProjectDataManager

Definition

Namespace:ArtOfTest.WebAii.Design.ProjectModel.Providers

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class ProjectDataManager : ModuleBase

Inheritance: objectModuleBaseProjectDataManager

Inherited Members ModuleBase.TriggerAsyncFunc<T>(Func<T>)ModuleBase.TriggerAsyncAction(Action)ModuleBase.InvokeOnUIThread(Action, bool)ModuleBase.Project

Constructors

ProjectDataManager()

Declaration

cs-api-definition
public ProjectDataManager()

Properties

AppContainer

Declaration

cs-api-definition
public ILifetimeScope AppContainer { get; set; }

Property Value

ILifetimeScope

CodeService

Gets the code service.

Declaration

cs-api-definition
public ICodeService CodeService { get; }

Property Value

ICodeService

The code service.

Data

Handles all operations related to the Project's DataSources

Declaration

cs-api-definition
public DataSourceModule Data { get; }

Property Value

DataSourceModule

Elements

Handles all opeartions related to the Project's Elements

Declaration

cs-api-definition
public ElementsModule Elements { get; }

Property Value

ElementsModule

FileSystemProvider

Declaration

cs-api-definition
protected FileSystemProvider FileSystemProvider { get; }

Property Value

FileSystemProvider

IsSourceControlConnected

Declaration

cs-api-definition
public bool IsSourceControlConnected { get; }

Property Value

bool

LightProject

Handles all operations related to the Project's Light model structure

Declaration

cs-api-definition
public LightProjectModule LightProject { get; }

Property Value

LightProjectModule

OwnerProject

Declaration

cs-api-definition
public Project OwnerProject { get; }

Property Value

Project

ProjectModule

Handles all operations related to the Project's Test(s)

Declaration

cs-api-definition
public ProjectModule ProjectModule { get; }

Property Value

ProjectModule

SourceControlProvider

Gets the source control provider if loaded.

Declaration

cs-api-definition
public SourceControlProviderBase SourceControlProvider { get; }

Property Value

SourceControlProviderBase

The source control provider.

Methods

CloseProject()

Closes the project data this manager belongs to.

Declaration

cs-api-definition
public void CloseProject()

CreateProject(string, string, string, CodeGenerationLanguage)

Create and load project from the FileSystem.

Declaration

cs-api-definition
public void CreateProject(string location, string vsSolutionPath = "", string vsProjectPath = "", CodeGenerationLanguage vsProjectLanguage = CodeGenerationLanguage.NotSet)

Parameters

location

string

The location.

vsSolutionPath

string

vsProjectPath

string

vsProjectLanguage

CodeGenerationLanguage

GetCheckInPathsByElements(IList<LightProjectElement>)

Checks-In(s) the elements into the active source control.

Declaration

cs-api-definition
public List<string> GetCheckInPathsByElements(IList<LightProjectElement> elements)

Parameters

elements

IList<LightProjectElement>

The elements.

Returns

List<string>

GetLatestVersionElements(IList<LightProjectElement>)

Declaration

cs-api-definition
public void GetLatestVersionElements(IList<LightProjectElement> elements)

Parameters

elements

IList<LightProjectElement>

LoadProject(string, string, string)

Triggers project load from the FileSystem

Declaration

cs-api-definition
public void LoadProject(string location, string vsSolutionPath = "", string vsProjectPath = "")

Parameters

location

string

The location.

vsSolutionPath

string

vsProjectPath

string

OnSourceControlConnected(bool)

Declaration

cs-api-definition
protected virtual void OnSourceControlConnected(bool isConnected)

Parameters

isConnected

bool

RevertElements(IList<LightProjectElement>, bool)

Reverts all local changes.

Declaration

cs-api-definition
public void RevertElements(IList<LightProjectElement> elements, bool skipRefresh = false)

Parameters

elements

IList<LightProjectElement>

The elements.

skipRefresh

bool

TFSCheckOutElements(IList<LightProjectElement>)

Check(s)-out the elements from the active source control.

Declaration

cs-api-definition
public void TFSCheckOutElements(IList<LightProjectElement> elements)

Parameters

elements

IList<LightProjectElement>

The elements.

Events

SourceControlConnected

Declaration

cs-api-definition
public event Action<bool> SourceControlConnected

Event Value

Action<bool>