    

 ## On this page

  

 

 # Class ModelTemplate

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL.Pre](VM.Managed.DAFUL.Pre.md)  
Assembly: dfpredat.dll

This class is to represent the model template.

```csharp
public class ModelTemplate : FileGroup<Model.ModelItemGroup, GroupItem>, IFileGroup

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [Group&lt;Model.ModelItemGroup, GroupItem&gt;](VM.Managed.DAFUL.Pre.Group-2.md) ← [FileGroup&lt;Model.ModelItemGroup, GroupItem&gt;](VM.Managed.DAFUL.Pre.FileGroup-2.md) ← [ModelTemplate](VM.Managed.DAFUL.Pre.ModelTemplate.md)

#### Implements

[IFileGroup](VM.Managed.DAFUL.Pre.IFileGroup.md)

#### Inherited Members

[FileGroup&lt;Model.ModelItemGroup, GroupItem&gt;.Path](VM.Managed.DAFUL.Pre.FileGroup-2.md#VM_Managed_DAFUL_Pre_FileGroup_2_Path), [Group&lt;Model.ModelItemGroup, GroupItem&gt;.Initialize()](VM.Managed.DAFUL.Pre.Group-2.md#VM_Managed_DAFUL_Pre_Group_2_Initialize), [Group&lt;Model.ModelItemGroup, GroupItem&gt;.Name](VM.Managed.DAFUL.Pre.Group-2.md#VM_Managed_DAFUL_Pre_Group_2_Name), [Group&lt;Model.ModelItemGroup, GroupItem&gt;.SubGroups](VM.Managed.DAFUL.Pre.Group-2.md#VM_Managed_DAFUL_Pre_Group_2_SubGroups), [Group&lt;Model.ModelItemGroup, GroupItem&gt;.SubItems](VM.Managed.DAFUL.Pre.Group-2.md#VM_Managed_DAFUL_Pre_Group_2_SubItems)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### ModelTemplate()

Initializes a new instance of the  class.

```csharp
public ModelTemplate()

```

## Properties

### DefaultName

Gets or sets the default name.

```csharp
public string DefaultName { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Description

Gets or sets the description.

```csharp
public string Description { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Extension

Gets or sets the extension.

```csharp
public string Extension { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Folders

Gets or sets the folders.

```csharp
public List<string> Folders { get; set; }

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[string](https://learn.microsoft.com/dotnet/api/system.string)&gt;

### IconPath

Gets or sets the icon path.

```csharp
public string IconPath { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### ToolKit

Gets or sets the tool kit.

```csharp
public string ToolKit { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Type

Gets or sets the type.

```csharp
public string Type { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## Methods

### CreateModel(string)

Creates the model.

```csharp
public Model CreateModel(string strModelFileName)

```

#### Parameters

`strModelFileName` [string](https://learn.microsoft.com/dotnet/api/system.string)

Name of the model.

#### Returns

[Model](VM.Managed.DAFUL.Pre.Model.md)

The new model.