> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class MacroHelper

Namespace: [VM.Managed.Operation](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Operation)\
Assembly: VMAppCore.dll

This class is to represent the macro helper.

```csharp theme={null}
public class MacroHelper
```

#### Inheritance

object ←
[MacroHelper](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Operation.MacroHelper.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### MacroHelper()

```csharp theme={null}
public MacroHelper()
```

## Fields

### g\_dicKeyToFullNameForDeleting

```csharp theme={null}
public static Dictionary<string, string> g_dicKeyToFullNameForDeleting
```

#### Field Value

Dictionary\<string, string>

## Methods

### ChangeFullNameToKey(string, Document)

```csharp theme={null}
public static string ChangeFullNameToKey(string strXml, Document doc)
```

#### Parameters

`strXml` string

`doc` [Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Document.md)

#### Returns

string

### ChangeFullNameToKey(string)

```csharp theme={null}
public static string ChangeFullNameToKey(string strXml)
```

#### Parameters

`strXml` string

#### Returns

string

### ChangeKeyToFullName(string, Document)

```csharp theme={null}
public static string ChangeKeyToFullName(string strXml, Document doc)
```

#### Parameters

`strXml` string

`doc` [Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Document.md)

#### Returns

string

### ChangeKeyToFullName(string)

```csharp theme={null}
public static string ChangeKeyToFullName(string strXml)
```

#### Parameters

`strXml` string

#### Returns

string

### ChangeKeyToFullNameCore(XmlNode, bool, IDocument)

```csharp theme={null}
public static void ChangeKeyToFullNameCore(XmlNode nodeXml, bool bReverse, IDocument doc)
```

#### Parameters

`nodeXml` XmlNode

`bReverse` bool

`doc` IDocument

### CreateEntityDictionary(ObjectBase)

```csharp theme={null}
public static Dictionary<string, string> CreateEntityDictionary(ObjectBase entity)
```

#### Parameters

`entity` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md)

#### Returns

Dictionary\<string, string>

### GetFullNameFromKey(ObjectBase)

```csharp theme={null}
public static string GetFullNameFromKey(ObjectBase obj)
```

#### Parameters

`obj` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md)

#### Returns

string

### ModifyEntityDictionary(ObjectBase)

```csharp theme={null}
public static Dictionary<string, string> ModifyEntityDictionary(ObjectBase entity)
```

#### Parameters

`entity` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md)

#### Returns

Dictionary\<string, string>
