From db8236123dde07da5fa716c0442536020b99d6c8 Mon Sep 17 00:00:00 2001 From: VoidX Date: Tue, 2 Jul 2024 02:17:21 +0200 Subject: [PATCH] Don't allow endpoint filters outside QuickEQ.Format --- Cavern.QuickEQ.Format/Filters/EndpointFilter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cavern.QuickEQ.Format/Filters/EndpointFilter.cs b/Cavern.QuickEQ.Format/Filters/EndpointFilter.cs index 7b89f6d..0769ae6 100644 --- a/Cavern.QuickEQ.Format/Filters/EndpointFilter.cs +++ b/Cavern.QuickEQ.Format/Filters/EndpointFilter.cs @@ -24,7 +24,7 @@ public abstract class EndpointFilter : BypassFilter { /// /// The channel for which this filter marks the beginning of the filter pipeline /// Type of this endpoint - internal EndpointFilter(ReferenceChannel channel, string kind) : base($"{channel.GetShortName()} {kind}") { + private protected EndpointFilter(ReferenceChannel channel, string kind) : base($"{channel.GetShortName()} {kind}") { Channel = channel; ChannelName = channel.GetShortName(); } @@ -34,7 +34,7 @@ internal EndpointFilter(ReferenceChannel channel, string kind) : base($"{channel /// /// The channel for which this filter marks the beginning of the filter pipeline /// Type of this endpoint - internal EndpointFilter(string channel, string kind) : base($"{ParseName(channel)} {kind}") { + private protected EndpointFilter(string channel, string kind) : base($"{ParseName(channel)} {kind}") { Channel = ReferenceChannelExtensions.FromStandardName(channel); ChannelName = ParseName(channel); }