// Copyright (c) Microsoft. All rights reserved. using ChatWithAgent.Configuration; using Microsoft.Extensions.Configuration; namespace ChatWithAgent.ApiService.Config; /// /// Service configuration. /// public sealed class ServiceConfig { private readonly HostConfig _hostConfig; /// /// Initializes a new instance of the class. /// /// The configuration manager. public ServiceConfig(ConfigurationManager configurationManager) { this._hostConfig = new HostConfig(configurationManager); } /// /// Host configuration. /// public HostConfig Host => this._hostConfig; }