Skip to content

Commit

Permalink
Don't allow endpoint filters outside QuickEQ.Format
Browse files Browse the repository at this point in the history
  • Loading branch information
VoidXH committed Jul 2, 2024
1 parent bb72963 commit db82361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cavern.QuickEQ.Format/Filters/EndpointFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public abstract class EndpointFilter : BypassFilter {
/// </summary>
/// <param name="channel">The channel for which this filter marks the beginning of the filter pipeline</param>
/// <param name="kind">Type of this endpoint</param>
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();
}
Expand All @@ -34,7 +34,7 @@ internal EndpointFilter(ReferenceChannel channel, string kind) : base($"{channel
/// </summary>
/// <param name="channel">The channel for which this filter marks the beginning of the filter pipeline</param>
/// <param name="kind">Type of this endpoint</param>
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);
}
Expand Down

0 comments on commit db82361

Please sign in to comment.