Class
CodeFilesProvider

Definition

Namespace:ArtOfTest.WebAii.Design.ProjectModel.Providers

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class CodeFilesProvider : BaseProvider<LightCodeFile>

Inheritance: objectBaseProvider<LightCodeFile>CodeFilesProvider

Inherited Members BaseProvider<LightCodeFile>.Load(string)BaseProvider<LightCodeFile>.Load(string, string, string)BaseProvider<LightCodeFile>.OnItemLoaded(LightCodeFile)BaseProvider<LightCodeFile>.OnLoadCompleted()BaseProvider<LightCodeFile>.GetReporterKey()BaseProvider<LightCodeFile>.InvokeOnUIThread(Action, bool)BaseProvider<LightCodeFile>.EnsureProjectLanguage(string)BaseProvider<LightCodeFile>.PopulateStepsRecursive(List<JToken>)BaseProvider<LightCodeFile>.ProjectBaseProvider<LightCodeFile>.AppContainerBaseProvider<LightCodeFile>.ProgressReporterBaseProvider<LightCodeFile>.ProjectLocationBaseProvider<LightCodeFile>.KeyBaseProvider<LightCodeFile>.LoadCompleted

Constructors

CodeFilesProvider()

Declaration

cs-api-definition
public CodeFilesProvider()

Properties

CachedCodeFiles

Declaration

cs-api-definition
public ReadOnlyCollection<LightCodeFile> CachedCodeFiles { get; }

Property Value

ReadOnlyCollection<LightCodeFile>

CodeService

Declaration

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

Property Value

ICodeService

Methods

Clear()

Declaration

cs-api-definition
public override void Clear()

Overrides BaseProvider<LightCodeFile>.Clear()

CreateCodeFile(string)

Declaration

cs-api-definition
public LightCodeFile CreateCodeFile(string path)

Parameters

path

string

Returns

LightCodeFile

DeleteItem(LightCodeFile)

Declaration

cs-api-definition
public void DeleteItem(LightCodeFile item)

Parameters

item

LightCodeFile

ExcludeLightCodeFile(LightCodeFile)

Declaration

cs-api-definition
public void ExcludeLightCodeFile(LightCodeFile lightCodeFile)

Parameters

lightCodeFile

LightCodeFile

GetItem(Guid)

Declaration

cs-api-definition
public override LightCodeFile GetItem(Guid id)

Parameters

id

Guid

Returns

LightCodeFile

Overrides BaseProvider<LightCodeFile>.GetItem(Guid)

GetItem(string)

Declaration

cs-api-definition
public LightCodeFile GetItem(string path)

Parameters

path

string

Returns

LightCodeFile

ImportCodeFile(ImportCodeFileArgs)

Declaration

cs-api-definition
public LightCodeFile ImportCodeFile(ImportCodeFileArgs args)

Parameters

args

ImportCodeFileArgs

Returns

LightCodeFile

LoadCodeFile(string, bool)

Declaration

cs-api-definition
public LightCodeFile LoadCodeFile(string location, bool removeExcluded = false)

Parameters

location

string

removeExcluded

bool

Returns

LightCodeFile

LoadCodeFiles()

Declaration

cs-api-definition
public virtual void LoadCodeFiles()

RenameCodeFile(LightCodeFile, string, SourceControlProviderBase)

Declaration

cs-api-definition
public void RenameCodeFile(LightCodeFile lCodeFile, string newCodeFilePath, SourceControlProviderBase sourceControl = null)

Parameters

lCodeFile

LightCodeFile

newCodeFilePath

string

sourceControl

SourceControlProviderBase

SmartRefresh(string)

Declaration

cs-api-definition
public IList<string> SmartRefresh(string path)

Parameters

path

string

Returns

IList<string>

TryUpdateItem(LightCodeFile)

Declaration

cs-api-definition
public override bool TryUpdateItem(LightCodeFile item)

Parameters

item

LightCodeFile

Returns

bool

Overrides BaseProvider<LightCodeFile>.TryUpdateItem(LightCodeFile)

UpdateProjectLocation(string)

Declaration

cs-api-definition
public override void UpdateProjectLocation(string newLocation)

Parameters

newLocation

string

Overrides BaseProvider<LightCodeFile>.UpdateProjectLocation(string)

Events

ItemLoaded

Declaration

cs-api-definition
public event Action<LightCodeFile> ItemLoaded

Event Value

Action<LightCodeFile>