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

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

```csharp theme={null}
public sealed class AnonymousDisposable
```

#### Inheritance

object ←
[AnonymousDisposable](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.AnonymousDisposable.md)

## Constructors

### AnonymousDisposable(Action)

```csharp theme={null}
public AnonymousDisposable(Action dispose)
```

#### Parameters

`dispose` Action

## Properties

### IsDisposed

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

#### Property Value

bool

## Methods

### Create(Action)

```csharp theme={null}
public static IDisposable Create(Action dispose)
```

#### Parameters

`dispose` Action

#### Returns

IDisposable

### Dispose()

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