Skip to main content
Namespace: VM.Managed.DAFUL.Pre
Assembly: dfpredat.dll
This class is to represent the work.

Inheritance

object ← Group<Work.WorkGroup, GroupItem> ← FileGroup<Work.WorkGroup, GroupItem> ← Work

Implements

IFileGroup, IWorkGroup

Inherited Members

FileGroup<Work.WorkGroup, GroupItem>.Path, Group<Work.WorkGroup, GroupItem>.Initialize(), Group<Work.WorkGroup, GroupItem>.Name, Group<Work.WorkGroup, GroupItem>.SubGroups, Group<Work.WorkGroup, GroupItem>.SubItems

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

Work()

Initializes a new instance of the Work class.

Work(string)

Initializes a new instance of the Work class.

Parameters

strFileName string Name of the file.

Work(string, bool)

Initializes a new instance of the Work class.

Parameters

strFileName string Name of the file. IsSettingCurrent bool if set to true [is setting current].

Properties

CurrentWork

Gets or sets the current work.

Property Value

Work

CurrentWorkPath

Gets or sets the current work path.

Property Value

string

SubModels

Gets or sets the sub models.

Property Value

List<Model>

Methods

AddModel(Model)

Adds the model in work.

Parameters

model Model The new model.

Returns

bool true if success; otherwise, false.

ClearCurrentWork()

Clear the current work.

GetActiveModel(string)

Gets the active model. If model has active item, it is active.

Parameters

strItemPath string The item path.

Returns

Model The active model.

GetActiveModelFromDirectory(string)

Gets the active model from directory.

Parameters

strItemDirectory string The STR item directory.

Returns

Model

GetAllModels()

Gets all models.

Returns

List<Model> The Models

GetModel(string)

Gets the model.

Parameters

strModelName string Name of the model.

Returns

Model

GetModelNameList()

Gets the model name list.

Returns

List<string> The name of models.

Initialize()

Initializes this instance.