summary refs log tree commit diff
path: root/ModAS.Server/Services/ModASConfiguration.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ModAS.Server/Services/ModASConfiguration.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/ModAS.Server/Services/ModASConfiguration.cs b/ModAS.Server/Services/ModASConfiguration.cs
new file mode 100644
index 0000000..dc7c552
--- /dev/null
+++ b/ModAS.Server/Services/ModASConfiguration.cs
@@ -0,0 +1,10 @@
+namespace MxApiExtensions.Services;
+
+
+public class ModASConfiguration {
+    public ModASConfiguration(IConfiguration configuration) {
+        configuration.GetRequiredSection("ModAS").Bind(this);
+    }
+    public string ServerName { get; set; }
+    public string HomeserverUrl { get; set; }
+}
\ No newline at end of file