    

 ## On this page

  

 

 #  Class MacroHelper

 Last update: 16.07.2025 

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

This class is to represent the macro helper.

```csharp
public class MacroHelper

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [MacroHelper](VM.Managed.Operation.MacroHelper.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(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_Managed_Operation_MacroHelper__ctor"></a> MacroHelper()

```csharp
public MacroHelper()

```

## Fields

### <a id="VM_Managed_Operation_MacroHelper_g_dicKeyToFullNameForDeleting"></a> g\_dicKeyToFullNameForDeleting

```csharp
public static Dictionary<string string> g_dicKeyToFullNameForDeleting

```

#### Field Value

[Dictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)[string](https://learn.microsoft.com/dotnet/api/system.string), [string](https://learn.microsoft.com/dotnet/api/system.string)&amp;gt;

## Methods

### <a id="VM_Managed_Operation_MacroHelper_ChangeFullNameToKey_System_String_VM_Managed_Document_"></a> ChangeFullNameToKey(string, Document)

```csharp
public static string ChangeFullNameToKey(string strXml, Document doc)

```

#### Parameters

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

`doc` [Document](VM.Managed.Document.md)

#### Returns

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

### <a id="VM_Managed_Operation_MacroHelper_ChangeFullNameToKey_System_String_"></a> ChangeFullNameToKey(string)

```csharp
public static string ChangeFullNameToKey(string strXml)

```

#### Parameters

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

#### Returns

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

### <a id="VM_Managed_Operation_MacroHelper_ChangeKeyToFullName_System_String_VM_Managed_Document_"></a> ChangeKeyToFullName(string, Document)

```csharp
public static string ChangeKeyToFullName(string strXml, Document doc)

```

#### Parameters

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

`doc` [Document](VM.Managed.Document.md)

#### Returns

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

### <a id="VM_Managed_Operation_MacroHelper_ChangeKeyToFullName_System_String_"></a> ChangeKeyToFullName(string)

```csharp
public static string ChangeKeyToFullName(string strXml)

```

#### Parameters

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

#### Returns

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

### <a id="VM_Managed_Operation_MacroHelper_ChangeKeyToFullNameCore_System_Xml_XmlNode_System_Boolean_VM_Models_Pre_IDocument_"></a> ChangeKeyToFullNameCore(XmlNode, bool, IDocument)

```csharp
public static void ChangeKeyToFullNameCore(XmlNode nodeXml, bool bReverse, IDocument doc)

```

#### Parameters

`nodeXml` [XmlNode](https://learn.microsoft.com/dotnet/api/system.xml.xmlnode)

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

`doc` IDocument

### <a id="VM_Managed_Operation_MacroHelper_CreateEntityDictionary_VM_Managed_ObjectBase_"></a> CreateEntityDictionary(ObjectBase)

```csharp
public static Dictionary<string string> CreateEntityDictionary(ObjectBase entity)

```

#### Parameters

`entity` [ObjectBase](VM.Managed.ObjectBase.md)

#### Returns

[Dictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)[string](https://learn.microsoft.com/dotnet/api/system.string), [string](https://learn.microsoft.com/dotnet/api/system.string)&amp;gt;

### <a id="VM_Managed_Operation_MacroHelper_GetFullNameFromKey_VM_Managed_ObjectBase_"></a> GetFullNameFromKey(ObjectBase)

```csharp
public static string GetFullNameFromKey(ObjectBase obj)

```

#### Parameters

`obj` [ObjectBase](VM.Managed.ObjectBase.md)

#### Returns

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

### <a id="VM_Managed_Operation_MacroHelper_ModifyEntityDictionary_VM_Managed_ObjectBase_"></a> ModifyEntityDictionary(ObjectBase)

```csharp
public static Dictionary<string string> ModifyEntityDictionary(ObjectBase entity)

```

#### Parameters

`entity` [ObjectBase](VM.Managed.ObjectBase.md)

#### Returns

[Dictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)[string](https://learn.microsoft.com/dotnet/api/system.string), [string](https://learn.microsoft.com/dotnet/api/system.string)&amp;gt;