Class
LightCodeFile

Definition

Namespace:ArtOfTest.WebAii.Design.ProjectModel

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public sealed class LightCodeFile : LightProjectElement

Inheritance: objectLightProjectElementLightCodeFile

Inherited Members LightProjectElement.DynamicPropertiesLightProjectElement.PathLightProjectElement.SourceControlStatusLightProjectElement.FriendlyNameLightProjectElement.ParentLightProjectElement.SourceControlStateChanged

Constructors

LightCodeFile(string, string, string)

Declaration

cs-api-definition
public LightCodeFile(string providerKey, string filePath, string projectRootPath)

Parameters

providerKey

string

filePath

string

projectRootPath

string

Properties

Id

Declaration

cs-api-definition
public Guid Id { get; set; }

Property Value

Guid

InDevelopment

Declaration

cs-api-definition
public bool InDevelopment { get; set; }

Property Value

bool

IsDirty

Declaration

cs-api-definition
public bool IsDirty { get; set; }

Property Value

bool

ProjectRootPath

Declaration

cs-api-definition
public override string ProjectRootPath { get; set; }

Property Value

string

Overrides LightProjectElement.ProjectRootPath

RelativePath

Declaration

cs-api-definition
public override string RelativePath { get; }

Property Value

string

Overrides LightProjectElement.RelativePath

Methods

GetCodeContent()

Declaration

cs-api-definition
public string GetCodeContent()

Returns

string

OnDirtyStateChanged(bool)

Declaration

cs-api-definition
protected void OnDirtyStateChanged(bool isDirty)

Parameters

isDirty

bool

Events

DirtyStateChanged

Declaration

cs-api-definition
public event Action<LightCodeFile, bool> DirtyStateChanged

Event Value

Action<LightCodeFile, bool>

InDevelopmentStateChanged

Declaration

cs-api-definition
public event Action<LightCodeFile, bool> InDevelopmentStateChanged

Event Value

Action<LightCodeFile, bool>