    

 ## On this page

  

 

 # Class ITemplateObjectImpl

 Last update: 16.07.2025 

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMAppCore.dll

This class is to represent the read and writes variable for template.

```csharp
public class ITemplateObjectImpl

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [ITemplateObjectImpl](VM.Managed.ITemplateObjectImpl.md)

#### 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

### ITemplateObjectImpl()

```csharp
public ITemplateObjectImpl()

```

## Methods

### ReadVariable(string, Variable, XmlReader, bool)

Reads the variable.

```csharp
public static Tuple<bool, double> ReadVariable(string strName, Variable var, XmlReader reader, bool bParameterized)

```

#### Parameters

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

Name of the variable.

`var` [Variable](VM.Managed.Variable.md)

The variable.

`reader` [XmlReader](https://learn.microsoft.com/dotnet/api/system.xml.xmlreader)

The reader.

`bParameterized` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

if set to `true` parameterized.

#### Returns

[Tuple](https://learn.microsoft.com/dotnet/api/system.tuple-2)&lt;[bool](https://learn.microsoft.com/dotnet/api/system.boolean), [double](https://learn.microsoft.com/dotnet/api/system.double)&gt;

`true` if the specified value is change; otherwise, `false`.

### WriteVariable(string, Variable, XmlWriter, bool)

Writes the variable.

```csharp
public static void WriteVariable(string strName, Variable var, XmlWriter writer, bool bParameterized)

```

#### Parameters

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

Name of the variable.

`var` [Variable](VM.Managed.Variable.md)

The variable.

`writer` [XmlWriter](https://learn.microsoft.com/dotnet/api/system.xml.xmlwriter)

The writer.

`bParameterized` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

if set to `true` parameterized.