3 instantiations of ConnectionStringSegment
Aspire.Azure.Messaging.WebPubSub (3)
src\Shared\StableConnectionStringBuilder.cs (3)
208segments.Add(new ConnectionStringSegment(key, value ?? string.Empty)); 291_segments.Add(new ConnectionStringSegment(key, value)); 300public static readonly ConnectionStringSegment SemiColon = new(null!, null!);
14 references to ConnectionStringSegment
Aspire.Azure.Messaging.WebPubSub (14)
src\Shared\StableConnectionStringBuilder.cs (14)
22private readonly List<ConnectionStringSegment> _segments; 159foreach (var seg in _segments) 161if (seg != ConnectionStringSegment.SemiColon) 169private static List<ConnectionStringSegment> ParseSegments(string connectionString) 176var segments = new List<ConnectionStringSegment>(); 186segments.Add(ConnectionStringSegment.SemiColon); 232foreach (var segment in _segments) 234if (segment == ConnectionStringSegment.SemiColon) 262var seg = _segments[idx]; 274if (_segments[idx] == ConnectionStringSegment.SemiColon) 285if (_segments.Count > 0 && _segments[^1] != ConnectionStringSegment.SemiColon) 288_segments.Add(ConnectionStringSegment.SemiColon); 293_segments.Add(ConnectionStringSegment.SemiColon); 300public static readonly ConnectionStringSegment SemiColon = new(null!, null!);