public Task <bool> IsEnabled <TEvent>(EventFilterToggleInfo toggleInfo, EventPipelineContext <TEvent> context) where TEvent : IEvent { Console.WriteLine($"evaluating {toggleInfo.ToggleName}"); return(Task.FromResult(Enabled)); }
public Task <bool> IsEnabled <TEvent>(EventFilterToggleInfo toggleInfo, EventPipelineContext <TEvent> context) where TEvent : IEvent { ToggleInfo = toggleInfo; return(Task.FromResult(Enabled)); }