# ParameterProcessor

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Orchestrator/ParameterProcessor.cs)

Handles processing of parameter resources during application orchestration.

## Definition

```csharp
namespace Aspire.Hosting;

public sealed class ParameterProcessor
{
    // ...
}
```

## Constructors

- [ParameterProcessor(ResourceNotificationService, ResourceLoggerService, IInteractionService, ILogger<ParameterProcessor>, DistributedApplicationExecutionContext, IDeploymentStateManager, IUserSecretsManager)](/reference/api/csharp/aspire.hosting/parameterprocessor/constructors.md#constructor-resourcenotificationservice-resourceloggerservice-iinteractionservice-ilogger-parameterprocessor-distributedapplicationexecutioncontext-ideploymentstatemanager-iusersecretsmanager) -- Handles processing of parameter resources during application orchestration.

## Methods

- [DeleteParameterAsync(ParameterResource, CancellationToken)](/reference/api/csharp/aspire.hosting/parameterprocessor/methods.md#deleteparameterasync-parameterresource-cancellationtoken) : `Task` -- Deletes a parameter value from the deployment state and marks it as unresolved.
- [InitializeParametersAsync(IEnumerable<ParameterResource>, bool)](/reference/api/csharp/aspire.hosting/parameterprocessor/methods.md#initializeparametersasync-ienumerable-parameterresource-bool) : `Task` -- Initializes parameter resources and handles unresolved parameters if interaction service is available.
- [InitializeParametersAsync(DistributedApplicationModel, bool, CancellationToken)](/reference/api/csharp/aspire.hosting/parameterprocessor/methods.md#initializeparametersasync-distributedapplicationmodel-bool-cancellationtoken) : `Task` -- Initializes parameter resources by collecting dependent parameters from the distributed application model and handles unresolved parameters if interaction service is available.
- [SetParameterAsync(ParameterResource, CancellationToken)](/reference/api/csharp/aspire.hosting/parameterprocessor/methods.md#setparameterasync-parameterresource-cancellationtoken) : `Task` -- Prompts the user to set a value for a single parameter.
