Exemplo n.º 1
0
    public void MatchesNameAndGuid()
    {
        var eventSource = new ConcurrencyLimiterEventSource();

        Assert.Equal("Microsoft.AspNetCore.ConcurrencyLimiter", eventSource.Name);
        Assert.Equal(Guid.Parse("a605548a-6963-55cf-f000-99a6013deb01"), eventSource.Guid);
    }
Exemplo n.º 2
0
 public QueueFrame(ValueStopwatch?timer, ConcurrencyLimiterEventSource parent)
 {
     _timer  = timer;
     _parent = parent;
 }