File: src\Shared\SignalR\LogRecord.cs
Web Access
Project: src\src\SignalR\common\testassets\Tests.Utils\Microsoft.AspNetCore.SignalR.Tests.Utils.csproj (Microsoft.AspNetCore.SignalR.Tests.Utils)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
using Microsoft.Extensions.Logging.Testing;
 
namespace Microsoft.AspNetCore.SignalR.Tests;
 
// WriteContext, but with a timestamp...
public class LogRecord
{
    public DateTime Timestamp { get; }
    public WriteContext Write { get; }
 
    public LogRecord(DateTime timestamp, WriteContext write)
    {
        Timestamp = timestamp;
        Write = write;
    }
}