Assembly: dfpredat.dll This class is to represent model.
Inheritance
object ← Group<Model.ModelItemGroup, GroupItem> ← FileGroup<Model.ModelItemGroup, GroupItem> ← ModelImplements
IFileGroupInherited Members
FileGroup<Model.ModelItemGroup, GroupItem>.Path, Group<Model.ModelItemGroup, GroupItem>.Initialize(), Group<Model.ModelItemGroup, GroupItem>.Name, Group<Model.ModelItemGroup, GroupItem>.SubGroups, Group<Model.ModelItemGroup, GroupItem>.SubItemsExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Constructors
Model()
Initializes a new instance of the Model class.Properties
DefaultDirectory
Gets the default directory.Property Value
stringToolkit
Gets or sets the toolkit.Property Value
stringMethods
AddGroupItem(GroupItem)
Adds the group item.Parameters
item GroupItem
The item.
Returns
booltrue if success; otherwise, false.
AddInsertedFile(string)
Adds the inserted file.Parameters
strFileName string
Name of the STR file.
ClearInsertedFiles()
Clears the inserted files.FindGroup(GroupItem, List<ModelItemGroup>)
Finds the group.Parameters
item GroupItem
The item.
groups List<Model.ModelItemGroup>
The groups.
Returns
Model.ModelItemGroupGetALLFilterList()
Gets the all the filter list.Returns
List<string> The filters.GetDefaultLocation(bool, bool)
Gets the recent directory.Parameters
bModel bool
if set to true [model].
bNew bool
if set to true [new].
Returns
stringThe name of recent directory if success; otherwise, null.
GetFilterName(string)
Gets the name of the filter.Parameters
filter string
The filter.
Returns
string The filter name.GetFullPath(string)
Gets the full path through relative path.Parameters
strRefDir string
The reference directory.
Returns
string The full path.GetGroupItemList()
Gets the group item list.Returns
List<GroupItem> The group items.GetGroupItemList(string)
Gets the group item list.Parameters
filter string
The filter.
Returns
List<GroupItem> The group items.GetInsertedFile()
Gets the inserted file.Returns
List<string>IsExistingItem(GroupItem)
Determines whether is existing item.Parameters
groupItem GroupItem
The group item.
Returns
booltrue if is existing item; otherwise, false.
IsExistingItem(string, string)
Determines whether is existing item.Parameters
strRefDir string
The reference directory.
strAbsolutePath string
The absolute path.
Returns
booltrue if is existing item; otherwise, false.
IsExistingItemFromDirectory(string, string)
Determines whether [is existing item from directory] [the specified STR ref dir].Parameters
strRefDir string
The STR ref dir.
strAbsoluteDirectory string
The STR absolute directory.
Returns
booltrue if [is existing item from directory] [the specified STR ref dir]; otherwise, false.
IsExistingName(string)
Determines whether is existing name.Parameters
ItemName string
Name of the item.
Returns
booltrue if is existing name; otherwise, false.
SetDefaultLocation(string, bool, bool)
Sets the recent directory in registry.Parameters
strPath string
The path of current work.
bModel bool
if set to true [model].
bNew bool
if set to true [new].
Returns
booltrue if success; otherwise, false.