// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Aspire.Hosting.Orleans;
/// <summary>
/// Represents an Orleans client configuration that can be referenced by application resources.
/// </summary>
/// <param name="service">The Orleans service which this client connects to.</param>
[AspireExport]
public sealed class OrleansServiceClient(OrleansService service)
{
/// <summary>
/// Gets the Orleans service referenced by this client.
/// </summary>
public OrleansService Service { get; } = service;
}
|