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