# ResourcePropertySnapshot Constructors

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ResourcePropertySnapshot](/reference/api/csharp/aspire.hosting/resourcepropertysnapshot.md)
- Kind: `Constructors`
- Members: `1`

A snapshot of the resource property.

## ResourcePropertySnapshot(string, object?)

- Name: `Constructor(string, object?)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/ApplicationModel/CustomResourceSnapshot.cs#L256)

A snapshot of the resource property.

```csharp
public record ResourcePropertySnapshot
{
    public ResourcePropertySnapshot(
        string Name,
        object? Value)
    {
        // ...
    }
}
```

## Parameters

- `Name` (`string`)
  The name of the property.
- `Value` (`object?`)
  The value of the property.
