
# ILastRevisionsCache interface

*No description yet.*

```csharp
public interface ILastRevisionsCache
```

**Namespace:** DXP · **Assembly:** Altium.SDK.Interfaces

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [NeedsUpdate](#needsupdate) | `bool` | get; set |  |

### NeedsUpdate

*No description yet.*

```csharp
bool GetNeedsUpdate();
void SetNeedsUpdate(bool argValue);
```

**Type:** `bool` · **Access:** read/write

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddOrUpdate](#addorupdate) | `void` |  |
| [Clear](#clear) | `void` |  |
| [Find](#find) | [ILastRevisionsInfo](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/ILastRevisionsInfo.md) |  |
| [GetCount](#getcount) | `int` |  |
| [SetCallback](#setcallback) | `void` |  |
| [UpdateFinished](#updatefinished) | `void` |  |
| [UpdateStarted](#updatestarted) | `void` |  |

### AddOrUpdate

*No description yet.*

```csharp
void AddOrUpdate(ILastRevisionsInfo argRevisionInfo);
void AddOrUpdate(object argRevisionInfo);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argRevisionInfo` | [ILastRevisionsInfo](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/ILastRevisionsInfo.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `ILastRevisionsCacheHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

### Clear

*No description yet.*

```csharp
void Clear();
```

**Returns:** nothing (`void`)

### Find

*No description yet.*

```csharp
ILastRevisionsInfo Find(string argFilePath);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argFilePath` | `string` | value |

**Returns:** [ILastRevisionsInfo](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/ILastRevisionsInfo.md)

Extension method of `ILastRevisionsCacheHelper` (`using DXP;`).

### GetCount

*No description yet.*

```csharp
int GetCount();
```

**Returns:** `int`

### SetCallback

*No description yet.*

```csharp
void SetCallback(int argCallbackId, ILastRevisionsCacheCallback argCallback);
void SetCallback(int argCallbackId, object argCallback);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCallbackId` | `int` | value |
| `argCallback` | [ILastRevisionsCacheCallback](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/ILastRevisionsCacheCallback.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `ILastRevisionsCacheHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

### UpdateFinished

*No description yet.*

```csharp
void UpdateFinished();
```

**Returns:** nothing (`void`)

### UpdateStarted

*No description yet.*

```csharp
void UpdateStarted();
```

**Returns:** nothing (`void`)
