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

Namespace: [VM.Models.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre)\
Assembly: VM.Models.Pre.Aspects.dll

```csharp theme={null}
public abstract class LinkBaseAttribute : Attribute
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Attribute](https://learn.microsoft.com/dotnet/api/system.attribute) ←
[LinkBaseAttribute](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.LinkBaseAttribute.md)

#### Derived

[LinkAttribute](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.LinkAttribute.md),
[LinkUpdateAttribute](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.LinkUpdateAttribute.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/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/2025-r2/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/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### LinkBaseAttribute()

```csharp theme={null}
protected LinkBaseAttribute()
```

## Properties

### CacheItems

```csharp theme={null}
public IEnumerable CacheItems { get; }
```

#### Property Value

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

### IsCacheEmpty

```csharp theme={null}
public bool IsCacheEmpty { get; }
```

#### Property Value

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

## Methods

### AddCache(string, IDisposable)

```csharp theme={null}
protected void AddCache(string propertyName, IDisposable subscriber)
```

#### Parameters

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

`subscriber` [IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

### Dispose()

```csharp theme={null}
public void Dispose()
```

### DisposeManagedResources()

```csharp theme={null}
protected virtual void DisposeManagedResources()
```

### Initialize(object)

```csharp theme={null}
public void Initialize(object owner)
```

#### Parameters

`owner` [object](https://learn.microsoft.com/dotnet/api/system.object)

### InitializeProperty(object, IEnumerable\<PropertyInfo>)

```csharp theme={null}
protected abstract void InitializeProperty(object owner, IEnumerable<PropertyInfo> propertyInfos)
```

#### Parameters

`owner` [object](https://learn.microsoft.com/dotnet/api/system.object)

`propertyInfos` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[PropertyInfo](https://learn.microsoft.com/dotnet/api/system.reflection.propertyinfo)>

### Unsubscribe(string)

```csharp theme={null}
protected void Unsubscribe(string propertyName)
```

#### Parameters

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