forked from ReduxISU/Redux
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathQuantumSolverSettings.cs
More file actions
29 lines (25 loc) · 964 Bytes
/
QuantumSolverSettings.cs
File metadata and controls
29 lines (25 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using Microsoft.AspNetCore.Authentication;
/// <summary>
/// Manages configuration settings for the Quantum Solver service.
/// Provides a default base URL and allows customization through constructors.
/// </summary>
public class QuantumSolverSettings
{
private static string defaultBaseURL = "http://towel.aws.cose.isu.edu:8080";
/// <summary>
/// Gets or sets the base URL for the Quantum Solver service.
/// </summary>
public static string BaseURL { get; set; } = defaultBaseURL;
/// <summary>
/// Initializes a new instance with the default base URL.
/// </summary>
public QuantumSolverSettings() : this(defaultBaseURL) {
}
/// <summary>
/// Initializes a new instance with a custom base URL.
/// </summary>
/// <param name="input">The base URL to use for the Quantum Solver service.</param>
public QuantumSolverSettings(string input) {
QuantumSolverSettings.BaseURL = input;
}
}