# EmulatorResourceExtensions Methods

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [EmulatorResourceExtensions](/reference/api/csharp/aspire.hosting/emulatorresourceextensions.md)
- Kind: `Methods`
- Members: `1`

Extension methods for managing emulator resources.

## IsEmulator(IResource)

- Name: `IsEmulator(IResource)`
- Modifiers: `extension`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/EmulatorResourceExtensions.cs#L21-L23)

Determines whether the specified resource is an emulator resource.

```csharp
public static class EmulatorResourceExtensions
{
    public static bool IsEmulator(
        this IResource resource)
    {
        // ...
    }
}
```

## Parameters

- `resource` ([IResource](/reference/api/csharp/aspire.hosting/iresource.md))
  The resource to check.

## Returns

`bool` -- true if the specified resource is an emulator resource; otherwise, false.

## ATS metadata

### Ignored by ATS

- Reason: Application model inspection helper -- not part of the ATS surface.
