From 98f62c27fe652cd6a63c08b15657469d58baf641 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 16 Aug 2025 19:25:46 -0500 Subject: adjust primitives for database+connection string --- src/slskd/Core/Data/ConnectionString.cs | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/slskd/Core/Data/ConnectionString.cs') diff --git a/src/slskd/Core/Data/ConnectionString.cs b/src/slskd/Core/Data/ConnectionString.cs index fb52c1e1..a02b30a4 100644 --- a/src/slskd/Core/Data/ConnectionString.cs +++ b/src/slskd/Core/Data/ConnectionString.cs @@ -22,26 +22,9 @@ namespace slskd; /// public record ConnectionString { - /// - /// Gets the connection string. - /// public required string Value { get; init; } - /// - /// Implicit conversion from string to ConnectionString. - /// - /// The string value. public static implicit operator ConnectionString(string value) => new() { Value = value }; - - /// - /// Implicit conversion from ConnectionString to string. - /// - /// The ConnectionString instance. public static implicit operator string(ConnectionString connectionString) => connectionString.Value; - - /// - /// Returns the string representation of the connection string. - /// - /// The connection string value. public override string ToString() => Value; } \ No newline at end of file -- cgit v1.2.3