    

 ## On this page

  

 

 # Class LinkBaseAttribute

 Last update: 09.03.2026 

<a id="VM_Models_Pre_LinkBaseAttribute"></a>

Namespace: [VM.Models.Pre](VM.Models.Pre.md)  
Assembly: VM.Models.Pre.Aspects.dll

```csharp
public abstract class LinkBaseAttribute : Attribute

```

#### Inheritance

object ← Attribute ← [LinkBaseAttribute](VM.Models.Pre.LinkBaseAttribute.md)

#### Derived

[LinkAttribute](VM.Models.Pre.LinkAttribute.md), [LinkUpdateAttribute](VM.Models.Pre.LinkUpdateAttribute.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

### <a id="VM_Models_Pre_LinkBaseAttribute__ctor"></a> LinkBaseAttribute()

```csharp
protected LinkBaseAttribute()

```

## Properties

### <a id="VM_Models_Pre_LinkBaseAttribute_CacheItems"></a> CacheItems

```csharp
public IEnumerable CacheItems { get; }

```

#### Property Value

IEnumerable

### <a id="VM_Models_Pre_LinkBaseAttribute_IsCacheEmpty"></a> IsCacheEmpty

```csharp
public bool IsCacheEmpty { get; }

```

#### Property Value

bool

## Methods

### <a id="VM_Models_Pre_LinkBaseAttribute_AddCache_System_String_System_IDisposable_"></a> AddCache(string, IDisposable)

```csharp
protected void AddCache(string propertyName, IDisposable subscriber)

```

#### Parameters

`propertyName` string

`subscriber` IDisposable

### <a id="VM_Models_Pre_LinkBaseAttribute_Dispose"></a> Dispose()

```csharp
public void Dispose()

```

### <a id="VM_Models_Pre_LinkBaseAttribute_DisposeManagedResources"></a> DisposeManagedResources()

```csharp
protected virtual void DisposeManagedResources()

```

### <a id="VM_Models_Pre_LinkBaseAttribute_Initialize_System_Object_"></a> Initialize(object)

```csharp
public void Initialize(object owner)

```

#### Parameters

`owner` object

### <a id="VM_Models_Pre_LinkBaseAttribute_InitializeProperty_System_Object_System_Collections_Generic_IEnumerable_System_Reflection_PropertyInfo__"></a> InitializeProperty(object, IEnumerable&lt;PropertyInfo&gt;)

```csharp
protected abstract void InitializeProperty(object owner, IEnumerable<PropertyInfo> propertyInfos)

```

#### Parameters

`owner` object

`propertyInfos` IEnumerable&lt;PropertyInfo&gt;

### <a id="VM_Models_Pre_LinkBaseAttribute_Unsubscribe_System_String_"></a> Unsubscribe(string)

```csharp
protected void Unsubscribe(string propertyName)

```

#### Parameters

`propertyName` string