# HostingTypeHelpers

- Kind: `class`
- Package: [Aspire.TypeSystem](/reference/api/csharp/aspire.typesystem.md)
- Version: `13.4.0`
- Namespace: `Aspire.TypeSystem`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/HostingTypeHelpers.cs)

Provides helper methods for identifying well-known Aspire hosting types by full name.

## Definition

```csharp
namespace Aspire.TypeSystem;

public static class HostingTypeHelpers
{
    // ...
}
```

## Methods

- [IsDistributedApplicationBuilderType(Type?)](/reference/api/csharp/aspire.typesystem/hostingtypehelpers/methods.md#isdistributedapplicationbuildertype-type) : `bool` `static` -- Determines whether the specified `type` is the IDistributedApplicationBuilder interface.
- [IsDistributedApplicationType(Type?)](/reference/api/csharp/aspire.typesystem/hostingtypehelpers/methods.md#isdistributedapplicationtype-type) : `bool` `static` -- Determines whether the specified `type` is the DistributedApplication class.
- [IsResourceBuilderType(Type?)](/reference/api/csharp/aspire.typesystem/hostingtypehelpers/methods.md#isresourcebuildertype-type) : `bool` `static` -- Determines whether the specified `type` implements the generic IResourceBuilder interface.
- [IsResourceType(Type?)](/reference/api/csharp/aspire.typesystem/hostingtypehelpers/methods.md#isresourcetype-type) : `bool` `static` -- Determines whether the specified `type` implements the IResource interface.
