Assembly: dfpredat.dll This class is to represent the work.
Inheritance
object ← Group<Work.WorkGroup, GroupItem> ← FileGroup<Work.WorkGroup, GroupItem> ← WorkImplements
IFileGroup, IWorkGroupInherited 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>.SubItemsExtension 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
WorkCurrentWorkPath
Gets or sets the current work path.Property Value
stringSubModels
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
booltrue 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
ModelGetAllModels()
Gets all models.Returns
List<Model> The ModelsGetModel(string)
Gets the model.Parameters
strModelName string
Name of the model.